Record Class CurrentUserResponse.AuthenticationContext

java.lang.Object
java.lang.Record
com.chaosguide.iam.vertex.client.dto.CurrentUserResponse.AuthenticationContext
Enclosing class:
CurrentUserResponse

public static record CurrentUserResponse.AuthenticationContext(String subjectType, String applicationId, String clientId, String sessionId, String workspaceId, boolean workspaceSelectionRequired, String organizationId, String organizationSlug, String organizationRole, Instant authTime, List<String> authenticationMethods, String assuranceLevel, CurrentUserResponse.Impersonation impersonation) extends Record
  • Constructor Details

    • AuthenticationContext

      public AuthenticationContext(String subjectType, String applicationId, String clientId, String sessionId, String workspaceId, boolean workspaceSelectionRequired, String organizationId, String organizationSlug, String organizationRole, Instant authTime, List<String> authenticationMethods, String assuranceLevel, CurrentUserResponse.Impersonation impersonation)
      Creates an instance of a AuthenticationContext record class.
      Parameters:
      subjectType - the value for the subjectType record component
      applicationId - the value for the applicationId record component
      clientId - the value for the clientId record component
      sessionId - the value for the sessionId record component
      workspaceId - the value for the workspaceId record component
      workspaceSelectionRequired - the value for the workspaceSelectionRequired record component
      organizationId - the value for the organizationId record component
      organizationSlug - the value for the organizationSlug record component
      organizationRole - the value for the organizationRole record component
      authTime - the value for the authTime record component
      authenticationMethods - the value for the authenticationMethods record component
      assuranceLevel - the value for the assuranceLevel record component
      impersonation - the value for the impersonation 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      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.
    • subjectType

      public String subjectType()
      Returns the value of the subjectType record component.
      Returns:
      the value of the subjectType record component
    • applicationId

      public String applicationId()
      Returns the value of the applicationId record component.
      Returns:
      the value of the applicationId record component
    • clientId

      public String clientId()
      Returns the value of the clientId record component.
      Returns:
      the value of the clientId record component
    • sessionId

      public String sessionId()
      Returns the value of the sessionId record component.
      Returns:
      the value of the sessionId record component
    • workspaceId

      public String workspaceId()
      Returns the value of the workspaceId record component.
      Returns:
      the value of the workspaceId record component
    • workspaceSelectionRequired

      public boolean workspaceSelectionRequired()
      Returns the value of the workspaceSelectionRequired record component.
      Returns:
      the value of the workspaceSelectionRequired record component
    • organizationId

      public String organizationId()
      Returns the value of the organizationId record component.
      Returns:
      the value of the organizationId record component
    • organizationSlug

      public String organizationSlug()
      Returns the value of the organizationSlug record component.
      Returns:
      the value of the organizationSlug record component
    • organizationRole

      public String organizationRole()
      Returns the value of the organizationRole record component.
      Returns:
      the value of the organizationRole record component
    • authTime

      public Instant authTime()
      Returns the value of the authTime record component.
      Returns:
      the value of the authTime record component
    • authenticationMethods

      public List<String> authenticationMethods()
      Returns the value of the authenticationMethods record component.
      Returns:
      the value of the authenticationMethods record component
    • assuranceLevel

      public String assuranceLevel()
      Returns the value of the assuranceLevel record component.
      Returns:
      the value of the assuranceLevel record component
    • impersonation

      public CurrentUserResponse.Impersonation impersonation()
      Returns the value of the impersonation record component.
      Returns:
      the value of the impersonation record component