public class InMemoryRefreshTokenGrantProcessor extends Object implements org.wso2.carbon.identity.oauth.tokenprocessor.RefreshTokenGrantProcessor
| Constructor and Description |
|---|
InMemoryRefreshTokenGrantProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
addUserAttributesToCache(org.wso2.carbon.identity.oauth2.model.AccessTokenDO accessTokenBean,
org.wso2.carbon.identity.oauth2.token.OAuthTokenReqMessageContext msgCtx) |
org.wso2.carbon.identity.oauth2.model.AccessTokenDO |
createAccessTokenBean(org.wso2.carbon.identity.oauth2.token.OAuthTokenReqMessageContext tokReqMsgCtx,
org.wso2.carbon.identity.oauth2.dto.OAuth2AccessTokenReqDTO tokenReq,
org.wso2.carbon.identity.oauth2.model.RefreshTokenValidationDataDO validationBean,
String tokenType) |
boolean |
isLatestRefreshToken(org.wso2.carbon.identity.oauth2.dto.OAuth2AccessTokenReqDTO tokenReq,
org.wso2.carbon.identity.oauth2.model.RefreshTokenValidationDataDO validationBean,
String userStoreDomain) |
void |
persistNewToken(org.wso2.carbon.identity.oauth2.token.OAuthTokenReqMessageContext tokenReqMessageContext,
org.wso2.carbon.identity.oauth2.model.AccessTokenDO accessTokenBean,
String userStoreDomain,
String clientId) |
org.wso2.carbon.identity.oauth2.model.RefreshTokenValidationDataDO |
validateRefreshToken(org.wso2.carbon.identity.oauth2.token.OAuthTokenReqMessageContext tokenReqMessageContext) |
public org.wso2.carbon.identity.oauth2.model.RefreshTokenValidationDataDO validateRefreshToken(org.wso2.carbon.identity.oauth2.token.OAuthTokenReqMessageContext tokenReqMessageContext)
throws org.wso2.carbon.identity.oauth2.IdentityOAuth2Exception
validateRefreshToken in interface org.wso2.carbon.identity.oauth.tokenprocessor.RefreshTokenGrantProcessororg.wso2.carbon.identity.oauth2.IdentityOAuth2Exceptionpublic void persistNewToken(org.wso2.carbon.identity.oauth2.token.OAuthTokenReqMessageContext tokenReqMessageContext,
org.wso2.carbon.identity.oauth2.model.AccessTokenDO accessTokenBean,
String userStoreDomain,
String clientId)
throws org.wso2.carbon.identity.oauth2.IdentityOAuth2Exception
persistNewToken in interface org.wso2.carbon.identity.oauth.tokenprocessor.RefreshTokenGrantProcessororg.wso2.carbon.identity.oauth2.IdentityOAuth2Exceptionpublic org.wso2.carbon.identity.oauth2.model.AccessTokenDO createAccessTokenBean(org.wso2.carbon.identity.oauth2.token.OAuthTokenReqMessageContext tokReqMsgCtx,
org.wso2.carbon.identity.oauth2.dto.OAuth2AccessTokenReqDTO tokenReq,
org.wso2.carbon.identity.oauth2.model.RefreshTokenValidationDataDO validationBean,
String tokenType)
createAccessTokenBean in interface org.wso2.carbon.identity.oauth.tokenprocessor.RefreshTokenGrantProcessorpublic boolean isLatestRefreshToken(org.wso2.carbon.identity.oauth2.dto.OAuth2AccessTokenReqDTO tokenReq,
org.wso2.carbon.identity.oauth2.model.RefreshTokenValidationDataDO validationBean,
String userStoreDomain)
isLatestRefreshToken in interface org.wso2.carbon.identity.oauth.tokenprocessor.RefreshTokenGrantProcessorpublic void addUserAttributesToCache(org.wso2.carbon.identity.oauth2.model.AccessTokenDO accessTokenBean,
org.wso2.carbon.identity.oauth2.token.OAuthTokenReqMessageContext msgCtx)
addUserAttributesToCache in interface org.wso2.carbon.identity.oauth.tokenprocessor.RefreshTokenGrantProcessorCopyright © 2024 WSO2. All rights reserved.