PublicKeyCredentialRequestOptions

public class PublicKeyCredentialRequestOptions extends RequestOptions

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

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(). See go/gmscore-perf/reflectedparcelable for why we can't rely on Parcelable behaviour.

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. See go/gmscore-perf/reflectedparcelable for why we can't rely on Parcelable behaviour.

Returns
  • the serialized byte array.

public void writeToParcel (Parcel dest, int flags)