public class DefaultAuthorizationCodeServices
extends org.springframework.security.oauth2.provider.code.RandomValueAuthorizationCodeServices
AuthorizationCodeServices
that better handles our AuthCode
domain compared to the Spring provided JdbcAuthorizationCodeServices
.Constructor and Description |
---|
DefaultAuthorizationCodeServices(AuthCodeRepository authCodeRepository,
com.broadleafcommerce.common.extension.TypeFactory typeFactory) |
Modifier and Type | Method and Description |
---|---|
protected org.springframework.security.oauth2.provider.OAuth2Authentication |
remove(String code) |
protected void |
store(String code,
org.springframework.security.oauth2.provider.OAuth2Authentication authentication) |
public DefaultAuthorizationCodeServices(AuthCodeRepository authCodeRepository, com.broadleafcommerce.common.extension.TypeFactory typeFactory)
protected void store(String code, org.springframework.security.oauth2.provider.OAuth2Authentication authentication)
store
in class org.springframework.security.oauth2.provider.code.RandomValueAuthorizationCodeServices
@Nullable protected org.springframework.security.oauth2.provider.OAuth2Authentication remove(String code)
remove
in class org.springframework.security.oauth2.provider.code.RandomValueAuthorizationCodeServices
Copyright © 2021. All rights reserved.