Skip to main content

Interface IAuthorization

Namespace: SuperOffice.WebApi.Authorization
Assembly: SuperOffice.WebApi.Authorization.dll
Defines a method to construct the Authorization header scheme and parameter for Http Requests. AuthorizationUsernamePassword, AuthorizationTicket, AuthorizationImplicit

Properties

RefreshAuthorizationAsync

Delegate called when authentication fails. Use to acquire and return a new authentication header value.

Property Value

Func<ReAuthorizationArgs, Task<IAuthorization&gt;&gt;

Methods

GetAuthorization()

Return the HTTP Authorization scheme and parameters as an AuthenticationHeaderValue.

Returns

AuthenticationHeaderValue AuthenticationHeaderValue. Containing e.g. “Basic”, “Base64encoded==”