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 classPublicKeyCredentialDescriptor.PublicKeyCredentialDescriptorBuilder.MandatoryStages
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PublicKeyCredentialDescriptorbuild()PublicKeyCredentialDescriptor.PublicKeyCredentialDescriptorBuilderid(@NonNull ByteArray id)The credential ID of the public key credential the caller is referring to.java.lang.StringtoString()PublicKeyCredentialDescriptor.PublicKeyCredentialDescriptorBuildertransports(@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.PublicKeyCredentialDescriptorBuildertransports(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.PublicKeyCredentialDescriptorBuildertype(@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:
toStringin classjava.lang.Object
-
-