Class ClaimTypeAuthorizationRequirement
Requires the existence of at least one of the specified claim types.
Implements
Microsoft.AspNetCore.Authorization.IAuthorizationRequirement
Namespace: XploRe.AspNetCore.Authorization
Assembly: XploRe.AspNetCore.Authorization.dll
Syntax
public class ClaimTypeAuthorizationRequirement : Object, IAuthorizationRequirement
Constructors
Name | Description |
---|---|
ClaimTypeAuthorizationRequirement(IEnumerable<String>) | Initialises a new ClaimTypeAuthorizationRequirement instance with a provided list of accepted claim types. |
Properties
Name | Description |
---|---|
ClaimTypes | Claim types of which (at least) one must be present. |