Interface: ServiceJwtPayload
Interface: ServiceJwtPayload
Defined in: jwt/claims.ts:100
Machine-to-machine service token. Issued by POST /oauth/token (OAuth2
client_credentials grant — RFC 6749 §4.4). Carries token_type: 'service'
and the m2m_clients row identity in client_id / service_name / scopes.
All user-shaped fields (uid, email, roles, permissions) are absent
or zero values.
Extends
Properties
aud?
optionalaud?:string|string[]
Defined in: jwt/claims.ts:20
Inherited from
client_id
client_id:
string
Defined in: jwt/claims.ts:104
Operator-chosen identifier (e.g. “rm-prod-abc123”).
exp?
optionalexp?:number
Defined in: jwt/claims.ts:21
Inherited from
iat?
optionaliat?:number
Defined in: jwt/claims.ts:22
Inherited from
iss?
optionaliss?:string
Defined in: jwt/claims.ts:19
Inherited from
jti?
optionaljti?:string
Defined in: jwt/claims.ts:24
Inherited from
nbf?
optionalnbf?:number
Defined in: jwt/claims.ts:23
Inherited from
scopes
scopes:
string[]
Defined in: jwt/claims.ts:109
Granted scope slice (intersection of client’s configured scopes and
any scope parameter on the grant request).
service_name?
optionalservice_name?:string
Defined in: jwt/claims.ts:106
Optional friendly label.
sub?
optionalsub?:string
Defined in: jwt/claims.ts:18
Inherited from
token_type
token_type:
"service"
Defined in: jwt/claims.ts:101