public interface PublicKeyCredentialEntity
Modifier and Type | Method and Description |
---|---|
java.util.Optional<java.net.URL> |
getIcon()
A serialized URL which resolves to an image associated with the entity.
|
java.lang.String |
getName()
A human-palatable name for the entity.
|
java.lang.String getName()
When clients, client platforms, or authenticators display a name's value, they should always use UI elements to provide a clear boundary around the displayed value, and not allow overflow into other elements.
Authenticators MUST accept and store a 64-byte minimum length for a name member’s value. Authenticators MAY truncate a name member’s value to a length equal to or greater than 64 bytes.
java.util.Optional<java.net.URL> getIcon()
For example, this could be a user's avatar or a 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.