> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SuperOffice.WebApi.Authorization

# <a id="SuperOffice_WebApi_Authorization" /> Namespace SuperOffice.WebApi.Authorization

### Namespaces

[SuperOffice.WebApi.Authorization.Exceptions](SuperOffice.WebApi.Authorization.Exceptions.md)

[SuperOffice.WebApi.Authorization.Utility](SuperOffice.WebApi.Authorization.Utility.md)

### Classes

[AuthorizationAccessToken](SuperOffice.WebApi.Authorization.AuthorizationAccessToken.md)

OAuth 2.0 access token (and refresh token) <xref href="SuperOffice.WebApi.Authorization.IAuthorization" data-throw-if-not-resolved="false" />.
With a refresh token, AppToken and AppSecret defined we can automatically
refresh access token on expiry.

[AuthorizationImplicit](SuperOffice.WebApi.Authorization.AuthorizationImplicit.md)

Represents a default <xref href="SuperOffice.WebApi.Authorization.IAuthorization" data-throw-if-not-resolved="false" /> type, used for pass-through authentication scenarios.
Use NTLM/Negotiate protocol to authorize with windows identity.

[AuthorizationSystemUserTicket](SuperOffice.WebApi.Authorization.AuthorizationSystemUserTicket.md)

SOTicket for use with SystemUser tokens in CRM online only. See <xref href="SuperOffice.WebApi.Authorization.IAuthorization" data-throw-if-not-resolved="false" />.

[AuthorizationTicket](SuperOffice.WebApi.Authorization.AuthorizationTicket.md)

SOTicket for use in onsite scenarios. See also <xref href="SuperOffice.WebApi.Authorization.IAuthorization" data-throw-if-not-resolved="false" />.

[AuthorizationUsernamePassword](SuperOffice.WebApi.Authorization.AuthorizationUsernamePassword.md)

Username and password <xref href="SuperOffice.WebApi.Authorization.IAuthorization" data-throw-if-not-resolved="false" /> using Basic scheme.

[ReAuthorizationArgs](SuperOffice.WebApi.Authorization.ReAuthorizationArgs.md)

Used to contain required types when authorization is refreshed.

### Interfaces

[IAddHeaders](SuperOffice.WebApi.Authorization.IAddHeaders.md)

Used by IAuthorization implementations to add headers for each request.

[IAuthorization](SuperOffice.WebApi.Authorization.IAuthorization.md)

Defines a method to construct the Authorization header scheme and parameter for Http Requests.
<xref href="SuperOffice.WebApi.Authorization.AuthorizationUsernamePassword" data-throw-if-not-resolved="false" />,
<xref href="SuperOffice.WebApi.Authorization.AuthorizationTicket" data-throw-if-not-resolved="false" />, <xref href="SuperOffice.WebApi.Authorization.AuthorizationImplicit" data-throw-if-not-resolved="false" />


## Related topics

- [SuperOffice.WebApi.WebApiOptions](/en/api/reference/webapi/SuperOffice.WebApi.WebApiOptions.md)
- [SuperOffice.WebApi.Authorization.IAuthorization](/en/api/reference/webapi/SuperOffice.WebApi.Authorization.IAuthorization.md)
- [SuperOffice.WebApi.Authorization.AuthorizationTicket](/en/api/reference/webapi/SuperOffice.WebApi.Authorization.AuthorizationTicket.md)
- [SuperOffice.WebApi.Authorization.AuthorizationImplicit](/en/api/reference/webapi/SuperOffice.WebApi.Authorization.AuthorizationImplicit.md)
- [SuperOffice.WebApi.Authorization.AuthorizationUsernamePassword](/en/api/reference/webapi/SuperOffice.WebApi.Authorization.AuthorizationUsernamePassword.md)
- [SuperOffice.WebApi.Authorization.AuthorizationAccessToken](/en/api/reference/webapi/SuperOffice.WebApi.Authorization.AuthorizationAccessToken.md)
- [SuperOffice.WebApi.Authorization.ReAuthorizationArgs](/en/api/reference/webapi/SuperOffice.WebApi.Authorization.ReAuthorizationArgs.md)
