Class RelyingPartyIdentity.RelyingPartyIdentityBuilder

  • Enclosing class:
    RelyingPartyIdentity

    public static class RelyingPartyIdentity.RelyingPartyIdentityBuilder
    extends java.lang.Object
    • Method Detail

      • icon

        public RelyingPartyIdentity.RelyingPartyIdentityBuilder icon​(@NonNull
                                                                     @NonNull java.util.Optional<java.net.URL> icon)
        A URL which resolves to an image associated with the entity. For example, this could be the Relying Party's logo.

        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.

      • icon

        public RelyingPartyIdentity.RelyingPartyIdentityBuilder icon​(java.net.URL icon)
        A URL which resolves to an image associated with the entity. For example, this could be the Relying Party's logo.

        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.

      • 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.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object