public class AuthCodeGrantHandlerImpl extends Object implements GrantHandler
| Modifier and Type | Method and Description |
|---|---|
void |
init(org.wso2.carbon.auth.core.api.UserNameMapper userNameMapper,
OAuthDAO oauthDAO,
org.wso2.carbon.auth.user.mgt.UserStoreManager userStoreManager,
org.wso2.carbon.auth.client.registration.dao.ApplicationDAO applicationDAO)
Initialise the grant type implementations with DAO
|
void |
process(String authorization,
AccessTokenContext context,
Map<String,String> queryParameters)
Process grant type request to generate access token
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckTokens, isAuthorizedClientpublic void init(org.wso2.carbon.auth.core.api.UserNameMapper userNameMapper,
OAuthDAO oauthDAO,
org.wso2.carbon.auth.user.mgt.UserStoreManager userStoreManager,
org.wso2.carbon.auth.client.registration.dao.ApplicationDAO applicationDAO)
GrantHandlerinit in interface GrantHandleruserNameMapper - Username mapper objectoauthDAO - OAuthDAO instanceuserStoreManager - user store manager instanceapplicationDAO - ApplicationDAO instancepublic void process(String authorization, AccessTokenContext context, Map<String,String> queryParameters) throws OAuthDAOException
GrantHandlerprocess in interface GrantHandlerauthorization - Authorization headercontext - AccessTokenContext object that stores context information during request processingqueryParameters - Map of query parameters sentOAuthDAOExceptionCopyright © 2018 WSO2. All rights reserved.