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.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für