Record Class TenantRegistry.ResolvedUserProvider

java.lang.Object
java.lang.Record
org.chenile.security.auth.framework.contract.TenantRegistry.ResolvedUserProvider
Enclosing interface:
TenantRegistry

public static record TenantRegistry.ResolvedUserProvider(String id, String realm, String realmDisplayName, String userId, String username, String email, String providerKey, String providerLabel, AuthProviderType providerType, List<String> acls) extends Record
  • Field Details

    • id

      private final String id
      The field for the id record component.
    • realm

      private final String realm
      The field for the realm record component.
    • realmDisplayName

      private final String realmDisplayName
      The field for the realmDisplayName record component.
    • userId

      private final String userId
      The field for the userId record component.
    • username

      private final String username
      The field for the username record component.
    • email

      private final String email
      The field for the email record component.
    • providerKey

      private final String providerKey
      The field for the providerKey record component.
    • providerLabel

      private final String providerLabel
      The field for the providerLabel record component.
    • providerType

      private final AuthProviderType providerType
      The field for the providerType record component.
    • acls

      private final List<String> acls
      The field for the acls record component.
  • Constructor Details

    • ResolvedUserProvider

      public ResolvedUserProvider(String id, String realm, String realmDisplayName, String userId, String username, String email, String providerKey, String providerLabel, AuthProviderType providerType, List<String> acls)
      Creates an instance of a ResolvedUserProvider record class.
      Parameters:
      id - the value for the id record component
      realm - the value for the realm record component
      realmDisplayName - the value for the realmDisplayName record component
      userId - the value for the userId record component
      username - the value for the username record component
      email - the value for the email record component
      providerKey - the value for the providerKey record component
      providerLabel - the value for the providerLabel record component
      providerType - the value for the providerType record component
      acls - the value for the acls 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.
    • id

      public String id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • realm

      public String realm()
      Returns the value of the realm record component.
      Returns:
      the value of the realm record component
    • realmDisplayName

      public String realmDisplayName()
      Returns the value of the realmDisplayName record component.
      Returns:
      the value of the realmDisplayName record component
    • userId

      public String userId()
      Returns the value of the userId record component.
      Returns:
      the value of the userId record component
    • username

      public String username()
      Returns the value of the username record component.
      Returns:
      the value of the username record component
    • email

      public String email()
      Returns the value of the email record component.
      Returns:
      the value of the email record component
    • providerKey

      public String providerKey()
      Returns the value of the providerKey record component.
      Returns:
      the value of the providerKey record component
    • providerLabel

      public String providerLabel()
      Returns the value of the providerLabel record component.
      Returns:
      the value of the providerLabel record component
    • providerType

      public AuthProviderType providerType()
      Returns the value of the providerType record component.
      Returns:
      the value of the providerType record component
    • acls

      public List<String> acls()
      Returns the value of the acls record component.
      Returns:
      the value of the acls record component