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
ScopeAuthorizationRequirement(IEnumerable<String>) |
Creates a new instance of ScopeAuthorizationRequirement. |
Properties
AllowedValues |
Gets the optional list of scope values. |
RequiredScopesConfigurationKey |
Gets the optional list of scope values from configuration. |
Methods
ToString() | Returns a string that represents the current object. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for