Home > validate-azure-ad-token > validate
Validate azure active directory access token
Signature:
export default function validate(accessToken: string, { applicationId, audience, scopes, tenantId }: IValidationOptions): Promise<Jwt>;
Parameter | Type | Description |
---|---|---|
accessToken | string | valid access token received from azure |
{ applicationId, audience, scopes, tenantId } | IValidationOptions |
Returns:
Promise<Jwt>