Interface AuthorizationResponse
-
- All Known Subinterfaces:
OauthAuthorizationResponse
,OpenIdAuthorizationResponse
- All Known Implementing Classes:
AbstractAuthorizationResponse
,DefaultOauthAuthorizationResponse
,DefaultOpenIdAuthorizationResponse
public interface AuthorizationResponse
OAuth 2.0 Authentication Response.- Since:
- 1.2.0
- Author:
- Sergio del Amo
- See Also:
- Authentication Response
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.micronaut.http.HttpRequest
getCallbackRequest()
java.lang.String
getCode()
State
getState()
-
-
-
Field Detail
-
KEY_CODE
static final java.lang.String KEY_CODE
- See Also:
- Constant Field Values
-
KEY_STATE
static final java.lang.String KEY_STATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getState
@Nullable State getState()
- Returns:
- The state parameter in the callback request
-
getCode
@Nonnull java.lang.String getCode()
- Returns:
- An authorization code which the client will later exchange for an access token.
-
getCallbackRequest
@Nonnull io.micronaut.http.HttpRequest getCallbackRequest()
- Returns:
- The authorization callback request
-
-