Class DefaultOauthAuthorizationResponse
java.lang.Object
io.micronaut.security.oauth2.endpoint.authorization.response.StateAwareAuthorizationCallback
io.micronaut.security.oauth2.endpoint.authorization.response.AbstractAuthorizationResponse
io.micronaut.security.oauth2.endpoint.authorization.response.DefaultOauthAuthorizationResponse
- All Implemented Interfaces:
AuthorizationResponse
,OauthAuthorizationResponse
,StateAware
@Prototype
public class DefaultOauthAuthorizationResponse
extends AbstractAuthorizationResponse
implements OauthAuthorizationResponse
The default implementation of
AuthorizationResponse
for
OAuth 2.0 provider authorization responses.- Since:
- 1.2.0
- Author:
- Sergio del Amo
-
Field Summary
Fields inherited from class io.micronaut.security.oauth2.endpoint.authorization.response.AbstractAuthorizationResponse
request, responseData
Fields inherited from interface io.micronaut.security.oauth2.endpoint.authorization.response.AuthorizationResponse
KEY_CODE, KEY_STATE
-
Constructor Summary
ConstructorDescriptionDefaultOauthAuthorizationResponse
(io.micronaut.http.HttpRequest<Map<String, Object>> request, StateSerDes stateSerDes) -
Method Summary
Methods inherited from class io.micronaut.security.oauth2.endpoint.authorization.response.AbstractAuthorizationResponse
getCallbackRequest, getCode, getStateValue
Methods inherited from class io.micronaut.security.oauth2.endpoint.authorization.response.StateAwareAuthorizationCallback
getState
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.security.oauth2.endpoint.authorization.response.AuthorizationResponse
getCallbackRequest, getCode, getState
-
Constructor Details
-
DefaultOauthAuthorizationResponse
public DefaultOauthAuthorizationResponse(@Parameter io.micronaut.http.HttpRequest<Map<String, Object>> request, StateSerDes stateSerDes) - Parameters:
request
- The requeststateSerDes
- State Serdes
-