Record Class AccountSecuritySummaryResponse
java.lang.Object
java.lang.Record
com.chaosguide.iam.vertex.client.dto.AccountSecuritySummaryResponse
public record AccountSecuritySummaryResponse(boolean emailVerified, boolean passwordCredentialPresent, boolean mfaEnrolled, boolean totpEnrolled, boolean webAuthnEnrolled, int activeSessionCount)
extends Record
Secret-free current-user security summary for account-center UI.
-
Constructor Summary
ConstructorsConstructorDescriptionAccountSecuritySummaryResponse(boolean emailVerified, boolean passwordCredentialPresent, boolean mfaEnrolled, boolean totpEnrolled, boolean webAuthnEnrolled, int activeSessionCount) Creates an instance of aAccountSecuritySummaryResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theactiveSessionCountrecord component.booleanReturns the value of theemailVerifiedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of themfaEnrolledrecord component.booleanReturns the value of thepasswordCredentialPresentrecord component.final StringtoString()Returns a string representation of this record class.booleanReturns the value of thetotpEnrolledrecord component.booleanReturns the value of thewebAuthnEnrolledrecord component.
-
Constructor Details
-
AccountSecuritySummaryResponse
public AccountSecuritySummaryResponse(boolean emailVerified, boolean passwordCredentialPresent, boolean mfaEnrolled, boolean totpEnrolled, boolean webAuthnEnrolled, int activeSessionCount) Creates an instance of aAccountSecuritySummaryResponserecord class.- Parameters:
emailVerified- the value for theemailVerifiedrecord componentpasswordCredentialPresent- the value for thepasswordCredentialPresentrecord componentmfaEnrolled- the value for themfaEnrolledrecord componenttotpEnrolled- the value for thetotpEnrolledrecord componentwebAuthnEnrolled- the value for thewebAuthnEnrolledrecord componentactiveSessionCount- the value for theactiveSessionCountrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
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 thecomparemethod from their corresponding wrapper classes. -
emailVerified
public boolean emailVerified()Returns the value of theemailVerifiedrecord component.- Returns:
- the value of the
emailVerifiedrecord component
-
passwordCredentialPresent
public boolean passwordCredentialPresent()Returns the value of thepasswordCredentialPresentrecord component.- Returns:
- the value of the
passwordCredentialPresentrecord component
-
mfaEnrolled
public boolean mfaEnrolled()Returns the value of themfaEnrolledrecord component.- Returns:
- the value of the
mfaEnrolledrecord component
-
totpEnrolled
public boolean totpEnrolled()Returns the value of thetotpEnrolledrecord component.- Returns:
- the value of the
totpEnrolledrecord component
-
webAuthnEnrolled
public boolean webAuthnEnrolled()Returns the value of thewebAuthnEnrolledrecord component.- Returns:
- the value of the
webAuthnEnrolledrecord component
-
activeSessionCount
public int activeSessionCount()Returns the value of theactiveSessionCountrecord component.- Returns:
- the value of the
activeSessionCountrecord component
-