Partager via


Constants Class

Definition

General constants for Microsoft Identity Web.

public static class Constants
type Constants = class
Public Class Constants
Inheritance
Constants

Fields

AzureAd

AzureAd. Configuration section name for AzureAd.

AzureAdB2C

AzureAdB2C. Configuration section name for AzureAdB2C.

Bearer

Bearer. Predominant type of access token used with OAuth 2.0.

Claims

Claims. Determined from the signed-in user.

DomainHint

DomainHint. Determined by the tenant Id.

ErrorPath

Defaults to the value used by Microsoft.Identity.Web.UI.

LoginHint

LoginHint. Represents the preferred_username claim in the ID token.

Policy

Policy for B2C user flows. The name of the policy to check against a specific user flow.

ResetPasswordPath

Defaults which is the value used by Microsoft.Identity.Web.UI.

ReturnUrl

Used to convey the original location of the user before the remote challenge was triggered up to the access denied page.

Scope

Scope.

SpaAuthCode

SpaAuthCode. Key to retreive SpaAuthCode from the HttpContext.

Applies to