Record Class EnvProps.PasskeyCapabilities
java.lang.Object
java.lang.Record
com.iizix.prop.EnvProps.PasskeyCapabilities
- Record Components:
webAuthn- The client can do WebAuthn:PublicKeyCredentialandnavigator.credentialsexist. 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 withinEnvProps.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 Summary
ConstructorsConstructorDescriptionPasskeyCapabilities(boolean webAuthn, boolean platformAuthenticator, boolean conditionalMediation, boolean reported) Creates an instance of aPasskeyCapabilitiesrecord class.Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theconditionalMediationrecord 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 theplatformAuthenticatorrecord component.booleanreported()Returns the value of thereportedrecord component.final StringtoString()Returns a string representation of this record class.booleanwebAuthn()Returns the value of thewebAuthnrecord component.
Constructor Details
PasskeyCapabilities
public PasskeyCapabilities(boolean webAuthn, boolean platformAuthenticator, boolean conditionalMediation, boolean reported) Creates an instance of aPasskeyCapabilitiesrecord class.- Parameters:
webAuthn- the value for thewebAuthnrecord componentplatformAuthenticator- the value for theplatformAuthenticatorrecord componentconditionalMediation- the value for theconditionalMediationrecord componentreported- the value for thereportedrecord 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.webAuthn
platformAuthenticator
public boolean platformAuthenticator()Returns the value of theplatformAuthenticatorrecord component.- Returns:
- the value of the
platformAuthenticatorrecord component
conditionalMediation
public boolean conditionalMediation()Returns the value of theconditionalMediationrecord component.- Returns:
- the value of the
conditionalMediationrecord component
reported