public static class RelyingPartyIdentity.RelyingPartyIdentityBuilder
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RelyingPartyIdentity.RelyingPartyIdentityBuilder.MandatoryStages |
Modifier and Type | Method and Description |
---|---|
RelyingPartyIdentity |
build() |
RelyingPartyIdentity.RelyingPartyIdentityBuilder |
icon(@NonNull java.util.Optional<java.net.URL> icon)
A URL which resolves to an image associated with the entity.
|
RelyingPartyIdentity.RelyingPartyIdentityBuilder |
icon(@NonNull java.net.URL icon)
A URL which resolves to an image associated with the entity.
|
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() |
public RelyingPartyIdentity.RelyingPartyIdentityBuilder icon(@NonNull @NonNull java.util.Optional<java.net.URL> icon)
This URL MUST be an a priori authenticated URL. Authenticators MUST accept and store a 128-byte minimum length for an icon member’s value. Authenticators MAY ignore an icon member’s value if its length is greater than 128 bytes. The URL’s scheme MAY be "data" to avoid fetches of the URL, at the cost of needing more storage.
public RelyingPartyIdentity.RelyingPartyIdentityBuilder icon(@NonNull @NonNull java.net.URL icon)
This URL MUST be an a priori authenticated URL. Authenticators MUST accept and store a 128-byte minimum length for an icon member’s value. Authenticators MAY ignore an icon member’s value if its length is greater than 128 bytes. The URL’s scheme MAY be "data" to avoid fetches of the URL, at the cost of needing more storage.
public RelyingPartyIdentity.RelyingPartyIdentityBuilder name(@NonNull @NonNull java.lang.String name)
For example: "ACME Corporation", "Wonderful Widgets, Inc." or "ОАО Примертех".
public RelyingPartyIdentity.RelyingPartyIdentityBuilder id(@NonNull @NonNull java.lang.String id)
public RelyingPartyIdentity build()
public java.lang.String toString()
toString
in class java.lang.Object