Class DefaultState
java.lang.Object
io.micronaut.security.oauth2.endpoint.authorization.state.DefaultState
- All Implemented Interfaces:
MutableState
,State
Default state implementation.
- Since:
- 1.2.0
- Author:
- James Kleeh
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
@NonNull String
getNonce()
@Nullable URI
int
hashCode()
void
void
setOriginalUri
(URI originalUri) void
setRedirectUri
(URI redirectUri)
-
Constructor Details
-
DefaultState
public DefaultState()
-
-
Method Details
-
getNonce
-
setOriginalUri
- Specified by:
setOriginalUri
in interfaceMutableState
- Parameters:
originalUri
- The original URI
-
setNonce
- Specified by:
setNonce
in interfaceMutableState
- Parameters:
nonce
- The nonce
-
getRedirectUri
- Specified by:
getRedirectUri
in interfaceState
- Returns:
- The URI to redirect to
-
setRedirectUri
- Specified by:
setRedirectUri
in interfaceMutableState
- Parameters:
redirectUri
- the URI to redirect to
-
hashCode
public int hashCode() -
equals
-