Record Class EnvProps.PasskeyCapabilities

java.lang.Object
java.lang.Record
com.iizix.prop.EnvProps.PasskeyCapabilities
Record Components:
webAuthn - The client can do WebAuthn: PublicKeyCredential and navigator.credentials exist. iiziRun reports false: its page origin cannot hold a passkey (its passkeys are SignIn L-12).
platformAuthenticator - The device has a user-verifying platform authenticator (isUserVerifyingPlatformAuthenticatorAvailable()).
conditionalMediation - The client can offer passkeys in the autofill of the user name field (isConditionalMediationAvailable()).
reported - false when the client did not answer within EnvProps.PASSKEY_CAPABILITIES_DEADLINE_MS - a client without the bridge - and the three others are false.
Enclosing class:
EnvProps

public static record EnvProps.PasskeyCapabilities(boolean webAuthn, boolean platformAuthenticator, boolean conditionalMediation, boolean reported) extends Record
What the client reported about itself, as the bridge measured it in the client.
  • Constructor Details

    • PasskeyCapabilities

      public PasskeyCapabilities(boolean webAuthn, boolean platformAuthenticator, boolean conditionalMediation, boolean reported)
      Creates an instance of a PasskeyCapabilities record class.
      Parameters:
      webAuthn - the value for the webAuthn record component
      platformAuthenticator - the value for the platformAuthenticator record component
      conditionalMediation - the value for the conditionalMediation record component
      reported - the value for the reported 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 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.
    • webAuthn

      public boolean webAuthn()
      Returns the value of the webAuthn record component.
      Returns:
      the value of the webAuthn record component
    • platformAuthenticator

      public boolean platformAuthenticator()
      Returns the value of the platformAuthenticator record component.
      Returns:
      the value of the platformAuthenticator record component
    • conditionalMediation

      public boolean conditionalMediation()
      Returns the value of the conditionalMediation record component.
      Returns:
      the value of the conditionalMediation record component
    • reported

      public boolean reported()
      Returns the value of the reported record component.
      Returns:
      the value of the reported record component