public interface TokenDAO
| Modifier and Type | Method and Description |
|---|---|
AccessTokenDTO |
getTokenInfo(String accessToken) |
AccessTokenDTO |
getTokenInfo(String refreshToken,
String consumerkey) |
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
SQLExceptionAccessTokenDTO getTokenInfo(String refreshToken, String consumerkey) throws SQLException
SQLExceptionCopyright © 2018 WSO2. All rights reserved.