Package com.yubico.webauthn.data
Class RelyingPartyIdentity
- java.lang.Object
-
- com.yubico.webauthn.data.RelyingPartyIdentity
-
- All Implemented Interfaces:
PublicKeyCredentialEntity
public final class RelyingPartyIdentity extends java.lang.Object implements PublicKeyCredentialEntity
Used to supply additional Relying Party attributes when creating a new credential.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RelyingPartyIdentity.RelyingPartyIdentityBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RelyingPartyIdentity.RelyingPartyIdentityBuilder.MandatoryStages
builder()
boolean
equals(java.lang.Object o)
@NonNull java.lang.String
getId()
A unique identifier for the Relying Party, which sets the RP ID.@NonNull java.lang.String
getName()
The human-palatable name of the Relaying Party.int
hashCode()
RelyingPartyIdentity.RelyingPartyIdentityBuilder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static RelyingPartyIdentity.RelyingPartyIdentityBuilder.MandatoryStages builder()
-
toBuilder
public RelyingPartyIdentity.RelyingPartyIdentityBuilder toBuilder()
-
getId
@NonNull public @NonNull java.lang.String getId()
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.
- See Also:
- RP ID, RP ID: scope
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getName
@NonNull public @NonNull java.lang.String getName()
The human-palatable name of the Relaying Party.For example: "ACME Corporation", "Wonderful Widgets, Inc." or "ОАО Примертех".
- Specified by:
getName
in interfacePublicKeyCredentialEntity
- See Also:
- RFC 8264, RFC 8265
-
-