Google is committed to advancing racial equity for Black communities. See how.

PublicKeyCredentialRequestOptions

public class PublicKeyCredentialRequestOptions extends RequestOptions

This class is used to supply an authentication request with the data it needs to generate an assertion.

See WebAuthn PublicKeyCredentialRequestOptions definition

Nested Class Summary

class PublicKeyCredentialRequestOptions.Builder Builder for PublicKeyCredentialRequestOptions

Inherited Constant Summary

Public Method Summary

static PublicKeyCredentialRequestOptions
deserializeFromBytes(byte[] serializedBytes)
Deserializes the PublicKeyCredentialRequestOptions from bytes, reversing serializeToBytes().
boolean
List<PublicKeyCredentialDescriptor>
AuthenticationExtensions
byte[]
Integer
String
Double
TokenBinding
int
byte[]
serializeToBytes()
Serializes the PublicKeyCredentialRequestOptions to bytes.
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

Public Methods

public static PublicKeyCredentialRequestOptions deserializeFromBytes (byte[] serializedBytes)

Deserializes the PublicKeyCredentialRequestOptions from bytes, reversing serializeToBytes().

Parameters
serializedBytes The serialized bytes.
Returns
  • The deserialized PublicKeyCredentialRequestOptions.

public boolean equals (Object obj)

public List<PublicKeyCredentialDescriptor> getAllowList ()

public AuthenticationExtensions getAuthenticationExtensions ()

public byte[] getChallenge ()

public Integer getRequestId ()

public String getRpId ()

public Double getTimeoutSeconds ()

public TokenBinding getTokenBinding ()

public int hashCode ()

public byte[] serializeToBytes ()

Serializes the PublicKeyCredentialRequestOptions to bytes. Use deserializeFromBytes(byte[]) to deserialize.

Returns
  • the serialized byte array.

public void writeToParcel (Parcel dest, int flags)