Class DefaultOpenIdAuthorizationResponse
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.DefaultOpenIdAuthorizationResponse
- All Implemented Interfaces:
AuthorizationResponse
,OpenIdAuthorizationResponse
,StateAware
@Prototype
public class DefaultOpenIdAuthorizationResponse
extends AbstractAuthorizationResponse
implements OpenIdAuthorizationResponse
- Since:
- 1.2.0
- Author:
- James Kleeh
-
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
ConstructorDescriptionDefaultOpenIdAuthorizationResponse
(io.micronaut.http.HttpRequest<Map<String, Object>> request, StateSerDes stateSerDes, @Nullable NoncePersistence noncePersistence) -
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
-
DefaultOpenIdAuthorizationResponse
public DefaultOpenIdAuthorizationResponse(@Parameter io.micronaut.http.HttpRequest<Map<String, Object>> request, StateSerDes stateSerDes, @Nullable @Nullable NoncePersistence noncePersistence) - Parameters:
request
- The requeststateSerDes
- The state serializer/deserializernoncePersistence
- The nonce persistence mechanism
-
-
Method Details
-
getNonce
- Specified by:
getNonce
in interfaceOpenIdAuthorizationResponse
- Returns:
- The persisted nonce value
-