Interface IServiceAuthorizer
This interface abstracts the task of applying authorization information to a given resource.
Namespace: Unity.Cloud.Common
Assembly: Unity.Cloud.Common.dll
Syntax
public interface IServiceAuthorizer
Methods
AddAuthorization(HttpHeaders)
Applies authorization information to a given set of HttpHeaders.
Declaration
Task AddAuthorization(HttpHeaders headers)
Parameters
Type | Name | Description |
---|---|---|
HttpHeaders | headers | The HttpHeaders to add authorization information to. |
Returns
Type | Description |
---|---|
Task | A Task for the operation. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thrown if |