MicrosoftIdentityAuthenticationBaseOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Base options passed-in to authenticate with Microsoft Identity.
public class MicrosoftIdentityAuthenticationBaseOptions
type MicrosoftIdentityAuthenticationBaseOptions = class
Public Class MicrosoftIdentityAuthenticationBaseOptions
- Inheritance
-
MicrosoftIdentityAuthenticationBaseOptions
- Derived
Constructors
MicrosoftIdentityAuthenticationBaseOptions() |
Constructor |
Properties
AuthenticationScheme |
Authentication scheme. If null, will use OpenIdConnectDefault.AuthenticationScheme if called from a web app, and JwtBearerDefault.AuthenticationScheme if called from a web API. |
IsProofOfPossessionRequest |
Modifies the token acquisition request so that the acquired token is a Proof of Possession token (PoP), rather than a Bearer token. PoP tokens are similar to Bearer tokens, but are bound to the HTTP request and to a cryptographic key, which MSAL can manage. See https://aka.ms/msal-net-pop. Set to true to enable PoP tokens automatically. |
Scopes |
Space separated scopes required to call the downstream web API. For instance "user.read mail.read". |
Tenant |
[Optional] tenant ID. This is used for specific scenarios where the application needs to call a downstream web API on behalf of a user in several tenants. It would mostly be used from code, not from the configuration. |
TokenAcquisitionOptions |
Options passed-in to create the token acquisition object which calls into MSAL .NET. |
UserFlow |
[Optional]. User flow (in the case of a B2C downstream web API). If not specified, the B2C downstream web API will be called with the default user flow from DefaultUserFlow. |
Methods
GetScopes() |
Returns the scopes. |