Module org.mule.oauth.client.api
Package org.mule.oauth.client.api
Interface AuthorizationCodeRequest
-
public interface AuthorizationCodeRequestProvides information about a request to be made to fetch the tokens as part of an OAuth Authorization-code grant type dance.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAuthorizationUrl()StringgetClientId()StringgetClientSecret()StringgetResourceOwnerId()StringgetScopes()Optional<String>getState()StringgetTokenUrl()
-
-
-
Method Detail
-
getResourceOwnerId
String getResourceOwnerId()
- Returns:
- id for the oauth state.
-
getAuthorizationUrl
String getAuthorizationUrl()
- Returns:
- The OAuth authentication server url that authorized the app for a certain user.
-
getTokenUrl
String getTokenUrl()
- Returns:
- The OAuth authentication server url that provided the tokens.
-
getClientId
String getClientId()
- Returns:
- The application identifier as defined in the OAuth authentication server.
-
getClientSecret
String getClientSecret()
- Returns:
- The application secret as defined in the OAuth authentication server.
-
getScopes
String getScopes()
- Returns:
- the scopes sent to the authorization url.
-
-