Package com.yubico.webauthn.data
Class PublicKeyCredentialDescriptor.PublicKeyCredentialDescriptorBuilder
- java.lang.Object
-
- com.yubico.webauthn.data.PublicKeyCredentialDescriptor.PublicKeyCredentialDescriptorBuilder
-
- Enclosing class:
- PublicKeyCredentialDescriptor
public static class PublicKeyCredentialDescriptor.PublicKeyCredentialDescriptorBuilder extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PublicKeyCredentialDescriptor.PublicKeyCredentialDescriptorBuilder.MandatoryStages
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PublicKeyCredentialDescriptor
build()
PublicKeyCredentialDescriptor.PublicKeyCredentialDescriptorBuilder
id(@NonNull ByteArray id)
The credential ID of the public key credential the caller is referring to.java.lang.String
toString()
PublicKeyCredentialDescriptor.PublicKeyCredentialDescriptorBuilder
transports(@NonNull java.util.Optional<java.util.Set<AuthenticatorTransport>> transports)
An OPTIONAL hint as to how the client might communicate with the managing authenticator of the public key credential the caller is referring to.PublicKeyCredentialDescriptor.PublicKeyCredentialDescriptorBuilder
transports(java.util.Set<AuthenticatorTransport> transports)
An OPTIONAL hint as to how the client might communicate with the managing authenticator of the public key credential the caller is referring to.PublicKeyCredentialDescriptor.PublicKeyCredentialDescriptorBuilder
type(@NonNull PublicKeyCredentialType type)
The type of the credential the caller is referring to.
-
-
-
Method Detail
-
transports
public PublicKeyCredentialDescriptor.PublicKeyCredentialDescriptorBuilder transports(@NonNull @NonNull java.util.Optional<java.util.Set<AuthenticatorTransport>> transports)
An OPTIONAL hint as to how the client might communicate with the managing authenticator of the public key credential the caller is referring to.
-
transports
public PublicKeyCredentialDescriptor.PublicKeyCredentialDescriptorBuilder transports(java.util.Set<AuthenticatorTransport> transports)
An OPTIONAL hint as to how the client might communicate with the managing authenticator of the public key credential the caller is referring to.
-
type
public PublicKeyCredentialDescriptor.PublicKeyCredentialDescriptorBuilder type(@NonNull @NonNull PublicKeyCredentialType type)
The type of the credential the caller is referring to.
-
id
public PublicKeyCredentialDescriptor.PublicKeyCredentialDescriptorBuilder id(@NonNull @NonNull ByteArray id)
The credential ID of the public key credential the caller is referring to.
-
build
public PublicKeyCredentialDescriptor build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-