Property Policy
Policy
Policy to authorise user against if set. Can either be an Microsoft.AspNetCore.Authorization.AuthorizationPolicy instance or
the name of a policy to check. The name of the policy must have been registered, otherwise an
InvalidOperationException is thrown when evaluating the policy.
Declaration
public object Policy { get; set; }
Property Value
Type | Description |
---|---|
Object |