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, responseDataFields inherited from interface io.micronaut.security.oauth2.endpoint.authorization.response.AuthorizationResponse
KEY_CODE, KEY_STATE -
Constructor Summary
ConstructorsConstructorDescriptionDefaultOauthAuthorizationResponse(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, getStateValueMethods inherited from class io.micronaut.security.oauth2.endpoint.authorization.response.StateAwareAuthorizationCallback
getStateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-