public interface TokenDAO
| Modifier and Type | Method and Description |
|---|---|
AccessTokenDTO |
getTokenInfo(String accessToken) |
AccessTokenDTO |
getTokenInfoByID(String tokenID) |
void |
persistToken(String accessToken,
String refreshToken,
String clientID,
String authUser,
String userDomain,
long timeCreated,
long refreshTokenCreatedTime,
int validityPeriod,
int refreshTokenValidityPeriod,
String tokenScopeHash,
String tokenState,
String userType,
String grantType) |
void persistToken(String accessToken, String refreshToken, String clientID, String authUser, String userDomain, long timeCreated, long refreshTokenCreatedTime, int validityPeriod, int refreshTokenValidityPeriod, String tokenScopeHash, String tokenState, String userType, String grantType) throws SQLException
SQLExceptionAccessTokenDTO getTokenInfoByID(String tokenID) throws SQLException
SQLExceptionAccessTokenDTO getTokenInfo(String accessToken) throws SQLException
SQLExceptionCopyright © 2017 WSO2. All rights reserved.