Grant
Defined in: @types/oidc-provider/index.d.ts:252
Extends
Section titled “Extends”BaseToken
Properties
Section titled “Properties”accountId?
Section titled “accountId?”
optionalaccountId?:string
Defined in: @types/oidc-provider/index.d.ts:255
adapter
Section titled “adapter”
readonlyadapter:Adapter
Defined in: @types/oidc-provider/index.d.ts:336
Inherited from
Section titled “Inherited from”BaseToken.adapter
client?
Section titled “client?”
optionalclient?:Client
Defined in: @types/oidc-provider/index.d.ts:316
Inherited from
Section titled “Inherited from”BaseToken.client
clientId?
Section titled “clientId?”
optionalclientId?:string
Defined in: @types/oidc-provider/index.d.ts:256
Overrides
Section titled “Overrides”BaseToken.clientId
optionalexp?:number
Defined in: @types/oidc-provider/index.d.ts:312
Inherited from
Section titled “Inherited from”BaseToken.exp
expiration
Section titled “expiration”
readonlyexpiration:number
Defined in: @types/oidc-provider/index.d.ts:325
Inherited from
Section titled “Inherited from”BaseToken.expiration
format?
Section titled “format?”
readonlyoptionalformat?:string
Defined in: @types/oidc-provider/index.d.ts:317
Inherited from
Section titled “Inherited from”BaseToken.format
iat:
number
Defined in: @types/oidc-provider/index.d.ts:311
Inherited from
Section titled “Inherited from”BaseToken.iat
isExpired
Section titled “isExpired”
readonlyisExpired:boolean
Defined in: @types/oidc-provider/index.d.ts:323
Inherited from
Section titled “Inherited from”BaseToken.isExpired
isValid
Section titled “isValid”
readonlyisValid:boolean
Defined in: @types/oidc-provider/index.d.ts:322
Inherited from
Section titled “Inherited from”BaseToken.isValid
jti:
string
Defined in: @types/oidc-provider/index.d.ts:313
Inherited from
Section titled “Inherited from”BaseToken.jti
readonlykind:string
Defined in: @types/oidc-provider/index.d.ts:314
Inherited from
Section titled “Inherited from”BaseToken.kind
openid?
Section titled “openid?”
optionalopenid?:object
Defined in: @types/oidc-provider/index.d.ts:257
claims?
Section titled “claims?”
optionalclaims?:string[]
scope?
Section titled “scope?”
optionalscope?:string
rejected?
Section titled “rejected?”
optionalrejected?:Pick<Grant,"openid"|"resources">
Defined in: @types/oidc-provider/index.d.ts:268
remainingTTL
Section titled “remainingTTL”
readonlyremainingTTL:number
Defined in: @types/oidc-provider/index.d.ts:324
Inherited from
Section titled “Inherited from”BaseToken.remainingTTL
resources?
Section titled “resources?”
optionalresources?:object
Defined in: @types/oidc-provider/index.d.ts:263
Index Signature
Section titled “Index Signature”[resource: string]: string
scopes
Section titled “scopes”
readonlyscopes:Set<string>
Defined in: @types/oidc-provider/index.d.ts:318
Inherited from
Section titled “Inherited from”BaseToken.scopes
Methods
Section titled “Methods”addOIDCClaims()
Section titled “addOIDCClaims()”addOIDCClaims(
claims):undefined
Defined in: @types/oidc-provider/index.d.ts:276
Parameters
Section titled “Parameters”claims
Section titled “claims”string[]
Returns
Section titled “Returns”undefined
addOIDCScope()
Section titled “addOIDCScope()”addOIDCScope(
scope):undefined
Defined in: @types/oidc-provider/index.d.ts:270
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”undefined
addResourceScope()
Section titled “addResourceScope()”addResourceScope(
resource,scope):undefined
Defined in: @types/oidc-provider/index.d.ts:282
Parameters
Section titled “Parameters”resource
Section titled “resource”string
string
Returns
Section titled “Returns”undefined
destroy()
Section titled “destroy()”destroy():
Promise<void>
Defined in: @types/oidc-provider/index.d.ts:300
Returns
Section titled “Returns”Promise<void>
Inherited from
Section titled “Inherited from”BaseToken.destroy
emit()
Section titled “emit()”emit(
eventName):void
Defined in: @types/oidc-provider/index.d.ts:301
Parameters
Section titled “Parameters”eventName
Section titled “eventName”string
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”BaseToken.emit
getOIDCClaims()
Section titled “getOIDCClaims()”getOIDCClaims():
string[]
Defined in: @types/oidc-provider/index.d.ts:278
Returns
Section titled “Returns”string[]
getOIDCClaimsEncountered()
Section titled “getOIDCClaimsEncountered()”getOIDCClaimsEncountered():
string[]
Defined in: @types/oidc-provider/index.d.ts:279
Returns
Section titled “Returns”string[]
getOIDCClaimsFiltered()
Section titled “getOIDCClaimsFiltered()”getOIDCClaimsFiltered(
filter):string[]
Defined in: @types/oidc-provider/index.d.ts:280
Parameters
Section titled “Parameters”filter
Section titled “filter”Set<string>
Returns
Section titled “Returns”string[]
getOIDCScope()
Section titled “getOIDCScope()”getOIDCScope():
string
Defined in: @types/oidc-provider/index.d.ts:272
Returns
Section titled “Returns”string
getOIDCScopeEncountered()
Section titled “getOIDCScopeEncountered()”getOIDCScopeEncountered():
string
Defined in: @types/oidc-provider/index.d.ts:273
Returns
Section titled “Returns”string
getOIDCScopeFiltered()
Section titled “getOIDCScopeFiltered()”getOIDCScopeFiltered(
filter):string
Defined in: @types/oidc-provider/index.d.ts:274
Parameters
Section titled “Parameters”filter
Section titled “filter”Set<string>
Returns
Section titled “Returns”string
getResourceScope()
Section titled “getResourceScope()”getResourceScope(
resource):string
Defined in: @types/oidc-provider/index.d.ts:284
Parameters
Section titled “Parameters”resource
Section titled “resource”string
Returns
Section titled “Returns”string
getResourceScopeEncountered()
Section titled “getResourceScopeEncountered()”getResourceScopeEncountered(
resource):string
Defined in: @types/oidc-provider/index.d.ts:285
Parameters
Section titled “Parameters”resource
Section titled “resource”string
Returns
Section titled “Returns”string
getResourceScopeFiltered()
Section titled “getResourceScopeFiltered()”getResourceScopeFiltered(
resource,filter):string
Defined in: @types/oidc-provider/index.d.ts:286
Parameters
Section titled “Parameters”resource
Section titled “resource”string
filter
Section titled “filter”Set<string>
Returns
Section titled “Returns”string
rejectOIDCClaims()
Section titled “rejectOIDCClaims()”rejectOIDCClaims(
claims):undefined
Defined in: @types/oidc-provider/index.d.ts:277
Parameters
Section titled “Parameters”claims
Section titled “claims”string[]
Returns
Section titled “Returns”undefined
rejectOIDCScope()
Section titled “rejectOIDCScope()”rejectOIDCScope(
scope):undefined
Defined in: @types/oidc-provider/index.d.ts:271
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”undefined
rejectResourceScope()
Section titled “rejectResourceScope()”rejectResourceScope(
resource,scope):undefined
Defined in: @types/oidc-provider/index.d.ts:283
Parameters
Section titled “Parameters”resource
Section titled “resource”string
string
Returns
Section titled “Returns”undefined
save()
Section titled “save()”save():
Promise<string>
Defined in: @types/oidc-provider/index.d.ts:334
Returns
Section titled “Returns”Promise<string>
Inherited from
Section titled “Inherited from”BaseToken.save
ttlPercentagePassed()
Section titled “ttlPercentagePassed()”ttlPercentagePassed():
number
Defined in: @types/oidc-provider/index.d.ts:320
Returns
Section titled “Returns”number
Inherited from
Section titled “Inherited from”BaseToken.ttlPercentagePassed