Record Class MfaChallengeService.VerifiedMfaChallenge

java.lang.Object
java.lang.Record
org.chenile.security.auth.framework.contract.MfaChallengeService.VerifiedMfaChallenge
Enclosing interface:
MfaChallengeService

public static record MfaChallengeService.VerifiedMfaChallenge(String challengeId, String realm, String email, String primaryProviderId, String clientId, AuthProviderType primaryProviderType, String mfaProviderKey, AuthProviderType mfaProviderType) extends Record
  • Field Details

    • challengeId

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

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

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

      private final String primaryProviderId
      The field for the primaryProviderId record component.
    • clientId

      private final String clientId
      The field for the clientId record component.
    • primaryProviderType

      private final AuthProviderType primaryProviderType
      The field for the primaryProviderType record component.
    • mfaProviderKey

      private final String mfaProviderKey
      The field for the mfaProviderKey record component.
    • mfaProviderType

      private final AuthProviderType mfaProviderType
      The field for the mfaProviderType record component.
  • Constructor Details

    • VerifiedMfaChallenge

      public VerifiedMfaChallenge(String challengeId, String realm, String email, String primaryProviderId, String clientId, AuthProviderType primaryProviderType, String mfaProviderKey, AuthProviderType mfaProviderType)
      Creates an instance of a VerifiedMfaChallenge record class.
      Parameters:
      challengeId - the value for the challengeId record component
      realm - the value for the realm record component
      email - the value for the email record component
      primaryProviderId - the value for the primaryProviderId record component
      clientId - the value for the clientId record component
      primaryProviderType - the value for the primaryProviderType record component
      mfaProviderKey - the value for the mfaProviderKey record component
      mfaProviderType - the value for the mfaProviderType 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.
    • challengeId

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

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

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

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

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

      public AuthProviderType primaryProviderType()
      Returns the value of the primaryProviderType record component.
      Returns:
      the value of the primaryProviderType record component
    • mfaProviderKey

      public String mfaProviderKey()
      Returns the value of the mfaProviderKey record component.
      Returns:
      the value of the mfaProviderKey record component
    • mfaProviderType

      public AuthProviderType mfaProviderType()
      Returns the value of the mfaProviderType record component.
      Returns:
      the value of the mfaProviderType record component