src/issuer/configuration/credentials/dto/authorization-identity.ts
Identity context from authorization server token (internal or external AS).
Properties |
| iss |
iss:
|
Type : string
|
|
The issuer (iss) of the authorization server |
| sub |
sub:
|
Type : string
|
|
The subject (sub) from the AS token - user identifier |
| token_claims |
token_claims:
|
Type : Record<string | unknown>
|
|
Additional claims from the access token |
export interface AuthorizationIdentity {
/**
* The issuer (iss) of the authorization server
*/
iss: string;
/**
* The subject (sub) from the AS token - user identifier
*/
sub: string;
/**
* Additional claims from the access token
*/
token_claims: Record<string, unknown>;
}