lucee.Component
models.delegates.JwtSubject
Copyright since 2016 by Ortus Solutions, Corp www.ortussolutions.com --- This delegate allows for objects to get JWT custom claims and Custom Scopes This delegate expects the following functions to be exposed in the $parent - getPermissions() - getRoles()
| Method Summary | |
|---|---|
struct
|
getJWTCustomClaims(struct payload)
A struct of custom claims to add to the JWT token. |
array
|
getJWTScopes()
This function returns an array of all the scopes that should be attached to the JWT token that will be used for authorization. |
| Methods inherited from class lucee.Component |
|---|
| None |
| Method Detail |
|---|
A struct of custom claims to add to the JWT token By default we add the $parent's roles
payloadThis function returns an array of all the scopes that should be attached to the JWT token that will be used for authorization. By default we add the $parent's permissions