Package com.irurueta.authserver.authorization.api.web.tokens
package com.irurueta.authserver.authorization.api.web.tokens
Token customization (claims, formats, lifetimes): the claims extension point, the access-token customizer,
the UserInfo mapper and the expired authorization cleanup job.
-
ClassDescriptionPeriodically deletes the expired and the abandoned authorizations.The claims this server adds to the tokens it issues, whatever their format, so the self-contained (JWT) access tokens and the reference (opaque) ones carry the same claims:
RolesTenantAudienceTokenCustomizerapplies it to the JWTs andReferenceTokenClaimsCustomizerto the claims stored for a reference token (which the introspection endpoint returns).Extension point that lets a feature add claims to the tokens issued by the authorization server: the access tokens, whether self-contained (JWT) or reference (their claims are returned by the introspection endpoint), and the ID tokens.Adds the claims ofIssuedTokenClaimsto the reference (opaque) access tokens.Adds the claims ofIssuedTokenClaimsto the self-contained tokens (JWT access tokens and ID tokens): theroles,tenantandaudclaims of an access token, then the claims of everyJwtClaimsContributor, which also reach the ID tokens.Registers theUserInfoMapperin the OpenID Connect UserInfo endpoint of the protocol chain.Builds the OpenID Connect UserInfo response from the account of the user, limited to the granted scopes: thesubclaim always;preferred_username,rolesandtenantwith theprofilescope;emailandemail_verifiedwith theemailscope.