Interface IAuthRequiredScopeMetadata
This is the metadata that describes required auth scopes for a given endpoint in a web API. It's the underlying data structure the requirement ScopeAuthorizationRequirement will look for in order to validate scopes in the scope claims.
public interface IAuthRequiredScopeMetadata
Properties
AcceptedScope
Scopes accepted by this web API.
string[]? AcceptedScope { get; }
Property Value
- string[]
RequiredScopesConfigurationKey
Fully qualified name of the configuration key containing the required scopes (separated by spaces).
string? RequiredScopesConfigurationKey { get; }