Package de.hybris.platform.oauth2
Class AuthorizationCodeService
java.lang.Object
org.springframework.security.oauth2.provider.code.RandomValueAuthorizationCodeServices
de.hybris.platform.oauth2.AuthorizationCodeService
- All Implemented Interfaces:
org.springframework.security.oauth2.provider.code.AuthorizationCodeServices
public class AuthorizationCodeService
extends org.springframework.security.oauth2.provider.code.RandomValueAuthorizationCodeServices
Persists authorization codes in the database
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAuthorizationCode(org.springframework.security.oauth2.provider.OAuth2Authentication authentication) protected org.springframework.security.oauth2.provider.OAuth2AuthenticationvoidsetFlexibleSearchService(FlexibleSearchService flexibleSearchService) voidsetModelService(ModelService modelService) protected voidstore(String code, org.springframework.security.oauth2.provider.OAuth2Authentication authentication) Methods inherited from class org.springframework.security.oauth2.provider.code.RandomValueAuthorizationCodeServices
consumeAuthorizationCode
-
Constructor Details
-
AuthorizationCodeService
public AuthorizationCodeService()
-
-
Method Details
-
createAuthorizationCode
public String createAuthorizationCode(org.springframework.security.oauth2.provider.OAuth2Authentication authentication) - Specified by:
createAuthorizationCodein interfaceorg.springframework.security.oauth2.provider.code.AuthorizationCodeServices- Overrides:
createAuthorizationCodein classorg.springframework.security.oauth2.provider.code.RandomValueAuthorizationCodeServices
-
store
protected void store(String code, org.springframework.security.oauth2.provider.OAuth2Authentication authentication) - Specified by:
storein classorg.springframework.security.oauth2.provider.code.RandomValueAuthorizationCodeServices
-
remove
- Specified by:
removein classorg.springframework.security.oauth2.provider.code.RandomValueAuthorizationCodeServices
-
setModelService
-
setFlexibleSearchService
-