Interface Credential
- All Known Implementing Classes:
ApiKeyCredential, EmailCredential, FederatedCredential, PasskeyCredential
public interface Credential
Marker interface for credential types. Each credential implementation (e.g. JWT, API key)
provides a stable UUID that can be linked to an
Identity.-
Method Summary
Modifier and TypeMethodDescriptionid()Returns the unique identifier for this credential.default CredentialKindkind()Returns the kind of this credential, reported in security events.label()Returns a human-readable label for this credential, reported in security events.
-
Method Details
-
id
-
kind
Returns the kind of this credential, reported in security events.- Returns:
- the credential kind;
CredentialKind.OTHERby default
-
label
-