AuthorizationServiceClient Class

Definition

A caching client of the IAuthorizationService.

public ref class AuthorizationServiceClient : IDisposable, Microsoft::IDisposableObservable
public class AuthorizationServiceClient : IDisposable, Microsoft.IDisposableObservable
type AuthorizationServiceClient = class
    interface IDisposableObservable
    interface IDisposable
Public Class AuthorizationServiceClient
Implements IDisposable, IDisposableObservable
Inheritance
AuthorizationServiceClient
Implements

Constructors

AuthorizationServiceClient(IAuthorizationService, Boolean)

Initializes a new instance of the AuthorizationServiceClient class.

AuthorizationServiceClient(IAuthorizationService, JoinableTaskFactory, Boolean)
Obsolete.

Initializes a new instance of the AuthorizationServiceClient class.

Properties

AuthorizationService

Gets the authorization service client proxy.

IsDisposed

Gets a value indicating whether this instance has been disposed.

Methods

AuthorizeOrThrowAsync(ProtectedOperation, CancellationToken)

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

CheckAuthorizationAsync(ProtectedOperation, CancellationToken)

Checks whether a previously authenticated user is authorized to perform some operation.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetCredentialsAsync(CancellationToken)

Gets the data to include in the ClientCredentials property of a service request.

Applies to