@Prototype public class DefaultOauthAuthorizationResponse extends AbstractAuthorizationResponse implements OauthAuthorizationResponse
AuthorizationResponse
for
OAuth 2.0 provider authorization responses.KEY_CODE, KEY_STATE
Constructor and Description |
---|
DefaultOauthAuthorizationResponse(io.micronaut.http.HttpRequest<java.util.Map<java.lang.String,java.lang.Object>> request,
StateSerDes stateSerDes) |
Modifier and Type | Method and Description |
---|---|
io.micronaut.http.HttpRequest<?> |
getCallbackRequest() |
java.lang.String |
getCode() |
protected java.lang.String |
getStateValue() |
getState
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getState
public DefaultOauthAuthorizationResponse(@Parameter io.micronaut.http.HttpRequest<java.util.Map<java.lang.String,java.lang.Object>> request, StateSerDes stateSerDes)
request
- The requeststateSerDes
- State Serdesprotected java.lang.String getStateValue()
getStateValue
in class AbstractAuthorizationResponse
@NonNull public java.lang.String getCode()
getCode
in interface AuthorizationResponse
getCode
in class AbstractAuthorizationResponse
@NonNull public io.micronaut.http.HttpRequest<?> getCallbackRequest()
getCallbackRequest
in interface AuthorizationResponse
getCallbackRequest
in class AbstractAuthorizationResponse