AuthorizationServiceExtensions Class

Definition

Extension methods for the IAuthorizationService.

public ref class AuthorizationServiceExtensions abstract sealed
public static class AuthorizationServiceExtensions
type AuthorizationServiceExtensions = class
Public Module AuthorizationServiceExtensions
Inheritance
AuthorizationServiceExtensions

Methods

AuthorizeOrThrowAsync(IAuthorizationService, ProtectedOperation, CancellationToken)

Verifies that the previously authenticated user is authorized to perform some operation, or throws an exception.

Applies to