ScopeAuthorizationRequirement 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.
Implements an IAuthorizationRequirement which requires at least one instance of the specified claim type, and, if allowed values are specified, the claim value must be any of the allowed values.
public class ScopeAuthorizationRequirement : Microsoft.AspNetCore.Authorization.IAuthorizationRequirement
type ScopeAuthorizationRequirement = class
interface IAuthorizationRequirement
Public Class ScopeAuthorizationRequirement
Implements IAuthorizationRequirement
- Inheritance
-
ScopeAuthorizationRequirement
- Implements
Constructors
| Name | Description |
|---|---|
| ScopeAuthorizationRequirement(IEnumerable<String>) |
Creates a new instance of ScopeAuthorizationRequirement. |
Properties
| Name | Description |
|---|---|
| AllowedValues |
Gets the optional list of scope values. |
| RequiredScopesConfigurationKey |
Gets the optional list of scope values from configuration. |
Methods
| Name | Description |
|---|---|
| ToString() | Returns a string that represents the current object. |