IAuthRequiredScopeOrAppPermissionMetadata Interface
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.
This is the metadata that describes required auth scopes or app permissions for a given endpoint in a web API. It's the underlying data structure the requirement ScopeOrAppPermissionAuthorizationRequirement will look for in order to validate scopes in the scope claims or app permissions in the roles claim.
public interface IAuthRequiredScopeOrAppPermissionMetadata
type IAuthRequiredScopeOrAppPermissionMetadata = interface
Public Interface IAuthRequiredScopeOrAppPermissionMetadata
- Derived
Properties
AcceptedAppPermission |
App permissions accepted by this web API. App permissions appear in the roles claim of the token. |
AcceptedScope |
Scopes accepted by this web API. |
RequiredAppPermissionsConfigurationKey |
Fully qualified name of the configuration key containing the required app permissions (separated by spaces). |
RequiredScopesConfigurationKey |
Fully qualified name of the configuration key containing the required scopes (separated by spaces). |