Home > validate-azure-ad-token > IValidationOptions
The interface represents required fields to process access token validation
Signature:
export interface IValidationOptions
Property | Modifiers | Type | Description |
---|---|---|---|
applicationId | string | Only present in v1.0 tokens. The application ID of the client using the token. The application can act as itself or on behalf of a user. The application ID typically represents an application object, but it can also represent a service principal object in Azure AD. | |
audience | string | Identifies the intended recipient of the token - its audience. In v2.0 tokens, this is always the client ID of the API, while in v1.0 tokens it can be the client ID or the resource URI used in the request, depending on how the client requested the token. | |
scopes | string[] | The set of scopes exposed by your application for which the client application has requested (and received) consent. | |
tenantId | string | Your Microsoft 365 tenant ID is a globally unique identifier (GUID) that is different than your organization name or domain. |