AuthorizationPolicy 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.
Represents a collection of authorization requirements and the scheme or schemes they are evaluated against, all of which must succeed for authorization to succeed.
public ref class AuthorizationPolicy
public class AuthorizationPolicy
type AuthorizationPolicy = class
Public Class AuthorizationPolicy
- Inheritance
-
AuthorizationPolicy
Constructors
AuthorizationPolicy(IEnumerable<IAuthorizationRequirement>, IEnumerable<String>) |
Creates a new instance of AuthorizationPolicy. |
Properties
AuthenticationSchemes |
Gets a readonly list of the authentication schemes the Requirements are evaluated against. |
Requirements |
Gets a readonly list of IAuthorizationRequirements which must succeed for this policy to be successful. |
Methods
Combine(AuthorizationPolicy[]) |
Combines the specified AuthorizationPolicy into a single policy. |
Combine(IEnumerable<AuthorizationPolicy>) |
Combines the specified AuthorizationPolicy into a single policy. |
CombineAsync(IAuthorizationPolicyProvider, IEnumerable<IAuthorizeData>, IEnumerable<AuthorizationPolicy>) |
Combines the AuthorizationPolicy provided by the specified
|
CombineAsync(IAuthorizationPolicyProvider, IEnumerable<IAuthorizeData>) |
Combines the AuthorizationPolicy provided by the specified
|