Skip to content

Latest commit

 

History

History
110 lines (60 loc) · 2.11 KB

File metadata and controls

110 lines (60 loc) · 2.11 KB

AzureVerifier

Properties

Methods

Constructor

new AzureVerifier(params)

Parameters

Name Type Description
tenantId string

Defined in

Azure.ts:37

Properties

keysUrl

Private keysUrl: string

The url where the public key for the Azure User Pool can be found This is supposed to be a getter

Defined in

jwt.ts:28


publicKeys

Private publicKeys: null | PublicKey[] = null

Defined in

jwt.ts:23


tenantId

Private tenantId: string

Defined in

Azure.ts:13

Methods

fetchKeys

Private fetchKeys(): Promise<PublicKey[]>

Returns

Promise<PublicKey[]>

Defined in

jwt.ts:84


getPublicKeys

Private getPublicKeys(): Promise<PublicKey[]>

Returns

Promise<PublicKey[]>

Defined in

jwt.ts:74


verify

verify(token): Promise<boolean>

Use this function to verify the Azure token

Parameters

Name Type
token string

Returns

Promise<boolean>

Defined in

Azure.ts:27