public interface AuthorizationCodeRepository
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.oauth2.provider.OAuth2Authentication |
consume(String code)
Consume an authorization code.
|
AuthorizationCodeEntity |
save(AuthorizationCodeEntity authorizationCode)
Save an AuthorizationCodeEntity to the repository
|
AuthorizationCodeEntity save(AuthorizationCodeEntity authorizationCode)
authorizationCode - the AuthorizationCodeEntity to saveorg.springframework.security.oauth2.provider.OAuth2Authentication consume(String code) throws org.springframework.security.oauth2.common.exceptions.InvalidGrantException
code - the authorization code valueorg.springframework.security.oauth2.common.exceptions.InvalidGrantException - if no AuthorizationCodeEntity is found with the given valueCopyright © 2015. All Rights Reserved.