public static interface OAuth2ServiceStubs.TokenServiceStub
| Modifier and Type | Method and Description |
|---|---|
feign.Response |
generateAccessToken(String authToken,
String grantType,
String code,
String redirectUri,
String refreshToken,
String username,
String password,
String scopes) |
default feign.Response |
generateAuthCodeGrantAccessToken(String code,
String redirectUri,
String scopes,
String clientId,
String clientSecret)
Get a access token by Authorization Code grant type.
|
default feign.Response |
generateClientCredentialsGrantAccessToken(String scopes,
String clientId,
String clientSecret)
Get a access token by Client Credentials grant type.
|
default feign.Response |
generatePasswordGrantAccessToken(String username,
String password,
String scopes,
String clientId,
String clientSecret)
Get a access token by Password grant type.
|
default feign.Response |
generateRefreshGrantAccessToken(String refreshToken,
String scopes,
String clientId,
String clientSecret)
Get a access token by Refresh grant type.
|
feign.Response generateAccessToken(String authToken, String grantType, String code, String redirectUri, String refreshToken, String username, String password, String scopes)
default feign.Response generatePasswordGrantAccessToken(String username, String password, String scopes, String clientId, String clientSecret)
username - Username of the userpassword - Password of the userscopes - Required scopes (space separated) for the access tokenclientId - Consumer Key of the applicationclientSecret - Consumer Secret of the applicationdefault feign.Response generateAuthCodeGrantAccessToken(String code, String redirectUri, String scopes, String clientId, String clientSecret)
code - Authorization CoderedirectUri - Callback URLscopes - Required scopes (space separated) for the access tokenclientId - Consumer Key of the applicationclientSecret - Consumer Secret of the applicationdefault feign.Response generateRefreshGrantAccessToken(String refreshToken, String scopes, String clientId, String clientSecret)
refreshToken - Refresh Tokenscopes - Required scopes (space separated) for the access tokenclientId - Consumer Key of the applicationclientSecret - Consumer Secret of the applicationdefault feign.Response generateClientCredentialsGrantAccessToken(String scopes, String clientId, String clientSecret)
scopes - Required scopes (space separated) for the access tokenclientId - Consumer Key of the applicationclientSecret - Consumer Secret of the applicationCopyright © 2017 WSO2. All rights reserved.