Partager via


IAuthRequiredScopeOrAppPermissionMetadata Interface

Definition

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).

Applies to