共用方式為


MicrosoftIdentityOptions.AllowWebApiToBeAuthorizedByACL Property

Definition

Daemon applications can validate a token based on roles, or using the ACL-based authorization pattern to control tokens without a roles claim. If using ACL-based authorization, Microsoft Identity Web will not throw if roles or scopes are not in the Claims. For details see https://aka.ms/ms-identity-web/daemon-ACL.

public bool AllowWebApiToBeAuthorizedByACL { get; set; }
member this.AllowWebApiToBeAuthorizedByACL : bool with get, set
Public Property AllowWebApiToBeAuthorizedByACL As Boolean

Property Value

Applies to