Crate hessra_token_identity

Crate hessra_token_identity 

Source

Structs§

HessraIdentity
Builder for creating Hessra identity tokens with flexible configuration.
IdentityRevocation
Represents an identity and its associated revocation ID
IdentityVerifier
Builder for verifying Hessra identity tokens with flexible configuration.
InspectResult
Result of inspecting an identity token

Functions§

add_identity_attenuation_to_token
create_domain_restricted_identity_token
Creates a domain-restricted identity token (non-delegatable).
create_identity_token
Creates a basic realm identity token (delegatable).
create_non_delegatable_identity_token
Creates a basic realm identity token (non-delegatable).
create_short_lived_identity_token
Create a short-lived version of an identity token for just-in-time use
get_active_identity_revocation
Get the revocation ID for the current active identity in a token
get_identity_revocations
Get all identity revocations from an identity token
inspect_identity_token
Inspects an identity token to extract the subject/actor information without requiring verification.
verify_bearer_token
Verifies the token as a bearer token. This validates the expiration and the signature of the token, but does not check the identity.
verify_identity_token
Verifies the token as an identity token. This validates the expiration, the signature of the token, and the identity of the token.