| Package | Description |
|---|---|
| org.wso2.carbon.auth.oauth | |
| org.wso2.carbon.auth.oauth.dao | |
| org.wso2.carbon.auth.oauth.dao.impl | |
| org.wso2.carbon.auth.oauth.impl |
| Modifier and Type | Method and Description |
|---|---|
AccessTokenContext |
TokenRequestHandler.generateToken(String authorization,
Map<String,String> queryParameters)
Generate OAuth2 Access token
|
void |
GrantHandler.process(String authorization,
AccessTokenContext context,
Map<String,String> queryParameters)
Process grant type request to generate access token
|
| Modifier and Type | Method and Description |
|---|---|
void |
OAuthDAO.addAccessTokenInfo(AccessTokenData accessTokenData)
Add access token related information
|
void |
OAuthDAO.addAuthCodeInfo(String authCode,
String clientId,
String scope,
URI redirectUri)
Add Authorization code related information
|
Optional<Optional<String>> |
OAuthDAO.getRedirectUri(String clientId)
Get pre-registered redirectUri of a client
|
String |
OAuthDAO.getScopeForAuthCode(String authCode,
String clientId,
URI redirectUri)
Get scope for matching persisted Authorization code information
|
boolean |
OAuthDAO.isClientCredentialsValid(String clientId,
String clientSecret)
Check if client Id/secret credentials are valid
|
| Modifier and Type | Method and Description |
|---|---|
void |
OAuthDAOImpl.addAccessTokenInfo(AccessTokenData accessTokenData) |
void |
OAuthDAOImpl.addAuthCodeInfo(String authCode,
String clientId,
String scope,
URI redirectUri) |
static OAuthDAO |
DAOFactory.getClientDAO() |
Optional<Optional<String>> |
OAuthDAOImpl.getRedirectUri(String clientId) |
String |
OAuthDAOImpl.getScopeForAuthCode(String authCode,
String clientId,
URI redirectUri) |
static TokenDAO |
DAOFactory.getTokenDAO()
getting token DAO
|
boolean |
OAuthDAOImpl.isClientCredentialsValid(String clientId,
String clientSecret) |
| Modifier and Type | Method and Description |
|---|---|
AccessTokenContext |
TokenRequestHandlerImpl.generateToken(String authorization,
Map<String,String> queryParameters) |
void |
AuthCodeGrantHandlerImpl.process(String authorization,
AccessTokenContext context,
Map<String,String> queryParameters) |
void |
ClientCredentialsGrantHandlerImpl.process(String authorization,
AccessTokenContext context,
Map<String,String> queryParameters) |
void |
PasswordGrantHandlerImpl.process(String authorization,
AccessTokenContext context,
Map<String,String> queryParameters) |
void |
RefreshGrantHandler.process(String authorization,
AccessTokenContext context,
Map<String,String> queryParameters)
validate and issue a token using refresh token grant
|
Copyright © 2018 WSO2. All rights reserved.