Class Overview
This class is used to supply options when creating a new credential.
Summary
Nested Classes |
class |
MakeCredentialOptions.Builder |
Builds MakeCredentialOptions . |
[Expand]
Inherited Constants |
From interface
android.os.Parcelable
int |
CONTENTS_FILE_DESCRIPTOR |
|
int |
PARCELABLE_WRITE_RETURN_VALUE |
|
|
[Expand]
Inherited Methods |
From class
com.google.android.gms.fido.fido2.api.common.RequestOptions
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
android.os.Parcelable
abstract
int
|
describeContents()
|
abstract
void
|
writeToParcel(Parcel arg0, int arg1)
|
|
Public Constructors
Parameters |
rp |
PublicKeyCredentialEntity |
user |
PublicKeyCredentialUserEntity |
challenge |
byte |
parameters |
List |
timeoutSeconds |
Double |
excludeList |
List |
authenticatorSelection |
AuthenticatorSelectionCriteria |
requestId |
Integer |
tokenBindingIdValue |
TokenBindingIdValue |
authenticationExtensions |
AuthenticationExtensions |
Public Methods
public
static
MakeCredentialOptions
deserializeFromBytes
(byte[] serializedBytes)
De-serializes the MakeCredentialOptions
from bytes, reversing serializeToBytes()
. See go/gmscore-perf/reflectedparcelable for why we can't rely on Parcelable
behaviour.
Parameters |
serializedBytes |
byte : The serialized bytes. |
public
boolean
equals
(Object obj)
public
byte[]
getChallenge
()
public
Integer
getRequestId
()
public
Double
getTimeoutSeconds
()
public
byte[]
serializeToBytes
()
Serializes the MakeCredentialOptions
to bytes. Use deserializeFromBytes(byte[])
to deserialize. See go/gmscore-perf/reflectedparcelable for why
we can't rely on Parcelable
behaviour.
Returns |
byte[] |
the serialized byte array.
|
public
void
writeToParcel
(Parcel dest, int flags)
Parameters |
dest |
Parcel |
flags |
int |