Class WebAuthState.Builder

  • Enclosing class:
    WebAuthState

    public static class WebAuthState.Builder
    extends java.lang.Object
    Builder for WebAuthState instances
    • Method Detail

      • getState

        @Nonnull
        public java.lang.String getState()
        Returns:
        the randomly generated state value
      • getExp

        public long getExp()
        Returns:
        when the WebAuthState built by this WebAuthState.Builder will expire. represented as the number of seconds from the Java epoch of 1970-01-01T00:00:00Z
      • put

        @Nonnull
        public WebAuthState.Builder put​(@Nonnull
                                        java.lang.String key,
                                        @Nonnull
                                        java.lang.Object value)
        Add a state param
        Parameters:
        key - the state param key
        value - the state param value
        Returns:
        this builder