Interface AuthorizationRequest
-
- All Known Subinterfaces:
OauthAuthorizationRequest
,OpenIdAuthorizationRequest
public interface AuthorizationRequest
OAuth 2.0 Authorization Request.- See Also:
- Authentication Request
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PARAMETER_CLIENT_ID
static java.lang.String
PARAMETER_REDIRECT_URI
static java.lang.String
PARAMETER_RESPONSE_TYPE
static java.lang.String
PARAMETER_SCOPE
static java.lang.String
PARAMETER_STATE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getClientId()
java.util.Optional<java.lang.String>
getRedirectUri()
java.lang.String
getResponseType()
java.util.List<java.lang.String>
getScopes()
java.util.Optional<java.lang.String>
getState(io.micronaut.http.MutableHttpResponse response)
-
-
-
Field Detail
-
PARAMETER_SCOPE
static final java.lang.String PARAMETER_SCOPE
- See Also:
- Constant Field Values
-
PARAMETER_RESPONSE_TYPE
static final java.lang.String PARAMETER_RESPONSE_TYPE
- See Also:
- Constant Field Values
-
PARAMETER_CLIENT_ID
static final java.lang.String PARAMETER_CLIENT_ID
- See Also:
- Constant Field Values
-
PARAMETER_REDIRECT_URI
static final java.lang.String PARAMETER_REDIRECT_URI
- See Also:
- Constant Field Values
-
PARAMETER_STATE
static final java.lang.String PARAMETER_STATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getScopes
@Nonnull java.util.List<java.lang.String> getScopes()
- Returns:
- OAuth 2.0 scopes.
-
getClientId
@Nonnull java.lang.String getClientId()
- Returns:
- OAuth 2.0 Client Identifier valid at the Authorization Server.
-
getState
java.util.Optional<java.lang.String> getState(io.micronaut.http.MutableHttpResponse response)
- Parameters:
response
- authorization redirect response- Returns:
- Opaque value used to maintain state between the request and the callback.
-
getResponseType
@Nonnull java.lang.String getResponseType()
- Returns:
- OAuth 2.0 Response Type value that determines the authorization processing flow to be used, including what parameters are returned from the endpoints used.
-
getRedirectUri
java.util.Optional<java.lang.String> getRedirectUri()
- Returns:
- Redirection URI to which the response will be sent.
-
-