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 AbstractAuthorizationResponse
request, responseDataFields inherited from interface AuthorizationResponse
KEY_CODE, KEY_STATE -
Constructor Summary
ConstructorsConstructorDescriptionDefaultOauthAuthorizationResponse(io.micronaut.http.HttpRequest<Map<String, Object>> request, StateSerDes stateSerDes) -
Method Summary
Methods inherited from class AbstractAuthorizationResponse
getCallbackRequest, getCode, getStateValueMethods inherited from class StateAwareAuthorizationCallback
getStateMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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
-