public interface AuthorizationCodeRepository
Modifier and Type | Method and Description |
---|---|
AuthorizationCodeEntity |
getByCode(String code)
Get an authorization code from the repository by value.
|
Collection<AuthorizationCodeEntity> |
getExpiredCodes() |
Collection<AuthorizationCodeEntity> |
getExpiredCodes(PageCriteria pageCriteria) |
void |
remove(AuthorizationCodeEntity authorizationCodeEntity)
Remove an authorization code from the repository
|
AuthorizationCodeEntity |
save(AuthorizationCodeEntity authorizationCode)
Save an AuthorizationCodeEntity to the repository
|
AuthorizationCodeEntity save(AuthorizationCodeEntity authorizationCode)
authorizationCode
- the AuthorizationCodeEntity to saveAuthorizationCodeEntity getByCode(String code)
code
- the authorization code valuevoid remove(AuthorizationCodeEntity authorizationCodeEntity)
authorizationCodeEntity
- Collection<AuthorizationCodeEntity> getExpiredCodes()
Collection<AuthorizationCodeEntity> getExpiredCodes(PageCriteria pageCriteria)
Copyright © 2018. All rights reserved.