java.lang.Object
io.micronaut.security.oauth2.endpoint.authorization.state.DefaultState
All Implemented Interfaces:
MutableState, State

@Introspected public class DefaultState extends Object implements MutableState
Default state implementation.
Since:
1.2.0
Author:
James Kleeh
  • Constructor Details

    • DefaultState

      public DefaultState()
  • Method Details

    • getNonce

      @NonNull public @NonNull String getNonce()
      Specified by:
      getNonce in interface State
      Returns:
      A nonce value
    • setOriginalUri

      public void setOriginalUri(URI originalUri)
      Specified by:
      setOriginalUri in interface MutableState
      Parameters:
      originalUri - The original URI
    • setNonce

      public void setNonce(String nonce)
      Specified by:
      setNonce in interface MutableState
      Parameters:
      nonce - The nonce
    • getRedirectUri

      @Nullable public @Nullable URI getRedirectUri()
      Specified by:
      getRedirectUri in interface State
      Returns:
      The URI to redirect to
    • setRedirectUri

      public void setRedirectUri(URI redirectUri)
      Specified by:
      setRedirectUri in interface MutableState
      Parameters:
      redirectUri - the URI to redirect to
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object