public interface GrantHandler
| Modifier and Type | Method and Description |
|---|---|
default boolean |
isAuthorizedClient(org.wso2.carbon.auth.client.registration.model.Application application,
String grantType) |
void |
process(String authorization,
AccessTokenContext context,
Map<String,String> queryParameters)
Process grant type request to generate access token
|
void process(String authorization, AccessTokenContext context, Map<String,String> queryParameters) throws org.wso2.carbon.auth.core.exception.AuthException
authorization - Authorization headercontext - AccessTokenContext object that stores context information during request processingqueryParameters - Map of query parameters sentorg.wso2.carbon.auth.core.exception.AuthException - When an grantHandler Error Occurreddefault boolean isAuthorizedClient(org.wso2.carbon.auth.client.registration.model.Application application,
String grantType)
Copyright © 2018 WSO2. All rights reserved.