Package com.yubico.webauthn.data
Class RelyingPartyIdentity.RelyingPartyIdentityBuilder
- java.lang.Object
-
- com.yubico.webauthn.data.RelyingPartyIdentity.RelyingPartyIdentityBuilder
-
- Enclosing class:
- RelyingPartyIdentity
public static class RelyingPartyIdentity.RelyingPartyIdentityBuilder extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RelyingPartyIdentity.RelyingPartyIdentityBuilder.MandatoryStages
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RelyingPartyIdentity
build()
RelyingPartyIdentity.RelyingPartyIdentityBuilder
id(@NonNull java.lang.String id)
A unique identifier for the Relying Party, which sets the RP ID.RelyingPartyIdentity.RelyingPartyIdentityBuilder
name(@NonNull java.lang.String name)
The human-palatable name of the Relaying Party.java.lang.String
toString()
-
-
-
Method Detail
-
name
public RelyingPartyIdentity.RelyingPartyIdentityBuilder name(@NonNull @NonNull java.lang.String name)
The human-palatable name of the Relaying Party.For example: "ACME Corporation", "Wonderful Widgets, Inc." or "ОАО Примертех".
- Returns:
this
.
-
id
public RelyingPartyIdentity.RelyingPartyIdentityBuilder id(@NonNull @NonNull java.lang.String id)
A unique identifier for the Relying Party, which sets the RP ID.This defines the domains where users' credentials are valid. See RP ID: scope for details and examples.
- Returns:
this
.- See Also:
- RP ID, RP ID: scope
-
build
public RelyingPartyIdentity build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-