PublicKeyCredentialHints

public class PublicKeyCredentialHints extends Object
implements Parcelable

Hints that can be used to filter the list of credentials returned by the authenticator.

www.w3.org/TR/webauthn-3/#enumdef-publickeycredentialhints

Nested Class Summary

@interface PublicKeyCredentialHints.Hint StringDef for PublicKeyCredentialHints values. 

Constant Summary

String CLIENT_DEVICE Indicates that the request should prioritize a user interaction flow where the user interacts with a platform authenticator attached to the client device.
String HYBRID Indicates that the request should prioritize a user interaction flow where the user interacts with another device across a remote transport (e.g., hybrid transport).
String SECURITY_KEY Indicates that the request should prioritize a user interaction flow where the user interacts with a physical security key.

Inherited Constant Summary

Public Method Summary

boolean
static PublicKeyCredentialHints
fromString(String value)
Returns a PublicKeyCredentialHints from its string representation.
String
getHintValue()
Returns the string representation of the PublicKeyCredentialHints.
int
String
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

Constants

public static final String CLIENT_DEVICE

Indicates that the request should prioritize a user interaction flow where the user interacts with a platform authenticator attached to the client device.

Constant Value: "client-device"

public static final String HYBRID

Indicates that the request should prioritize a user interaction flow where the user interacts with another device across a remote transport (e.g., hybrid transport).

Constant Value: "hybrid"

public static final String SECURITY_KEY

Indicates that the request should prioritize a user interaction flow where the user interacts with a physical security key.

Constant Value: "security-key"

Public Methods

public boolean equals (Object obj)

public static PublicKeyCredentialHints fromString (String value)

Returns a PublicKeyCredentialHints from its string representation.

Throws
IllegalArgumentException if the input is not a valid hint string.

public String getHintValue ()

Returns the string representation of the PublicKeyCredentialHints.

public int hashCode ()

public String toString ()

public void writeToParcel (Parcel dest, int flags)