Record Class NeoClientConfig.OAuth

java.lang.Object
java.lang.Record
org.operaton.bpm.spring.boot.starter.webapp.neo.NeoClientConfig.OAuth
Record Components:
flow - session for the server-side Spring Security login flow. The SPA also supports pkce, but that is only ever configured by a statically served config document, because it talks to the identity provider directly instead of to us.
login - top-level navigation target that starts the login flow
logout - top-level navigation target that ends the session
Enclosing class:
NeoClientConfig

public static record NeoClientConfig.OAuth(String flow, String login, String logout) extends Record
Where the SPA sends the browser to start and end an OAuth2 session.
  • Constructor Details

    • OAuth

      public OAuth(String flow, String login, String logout)
      Creates an instance of a OAuth record class.
      Parameters:
      flow - the value for the flow record component
      login - the value for the login record component
      logout - the value for the logout record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • flow

      public String flow()
      Returns the value of the flow record component.
      Returns:
      the value of the flow record component
    • login

      public String login()
      Returns the value of the login record component.
      Returns:
      the value of the login record component
    • logout

      public String logout()
      Returns the value of the logout record component.
      Returns:
      the value of the logout record component