> ## 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.ReAuthorizationArgs

# <a id="SuperOffice_WebApi_Authorization_ReAuthorizationArgs" /> Class ReAuthorizationArgs

Namespace: [SuperOffice.WebApi.Authorization](SuperOffice.WebApi.Authorization.md)\
Assembly: SuperOffice.WebApi.Authorization.dll

Used to contain required types when authorization is refreshed.

```csharp theme={null}
public class ReAuthorizationArgs
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[ReAuthorizationArgs](SuperOffice.WebApi.Authorization.ReAuthorizationArgs.md)

#### Inherited Members

[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Constructors

### <a id="SuperOffice_WebApi_Authorization_ReAuthorizationArgs__ctor_System_Net_Http_HttpRequestMessage_System_Net_Http_HttpClient_SuperOffice_WebApi_Authorization_Exceptions_SuperOfficeWebApiUnauthorizedException_System_String_" /> ReAuthorizationArgs(HttpRequestMessage, HttpClient, SuperOfficeWebApiUnauthorizedException, string)

Constructor

```csharp theme={null}
public ReAuthorizationArgs(HttpRequestMessage requestMessage, HttpClient client, SuperOfficeWebApiUnauthorizedException exception, string baseUrl)
```

#### Parameters

`requestMessage` [HttpRequestMessage](https://learn.microsoft.com/dotnet/api/system.net.http.httprequestmessage)

Originating request.

`client` [HttpClient](https://learn.microsoft.com/dotnet/api/system.net.http.httpclient)

HttpClient for backchannel communications.

`exception` [SuperOfficeWebApiUnauthorizedException](SuperOffice.WebApi.Authorization.Exceptions.SuperOfficeWebApiUnauthorizedException.md)

Exception that triggered the refresh event.

`baseUrl` [string](https://learn.microsoft.com/dotnet/api/system.string)

Base URL of Netserver WebApi.

## Properties

### <a id="SuperOffice_WebApi_Authorization_ReAuthorizationArgs_BaseUrl" /> BaseUrl

Base URL of Netserver

```csharp theme={null}
public string BaseUrl { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Authorization_ReAuthorizationArgs_Client" /> Client

HttpClient for backchannel communications.

```csharp theme={null}
public HttpClient Client { get; set; }
```

#### Property Value

[HttpClient](https://learn.microsoft.com/dotnet/api/system.net.http.httpclient)

### <a id="SuperOffice_WebApi_Authorization_ReAuthorizationArgs_Exception" /> Exception

Exception that triggered the refresh event.

```csharp theme={null}
public SuperOfficeWebApiUnauthorizedException Exception { get; set; }
```

#### Property Value

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

### <a id="SuperOffice_WebApi_Authorization_ReAuthorizationArgs_RequestMessage" /> RequestMessage

Originating request.

```csharp theme={null}
public HttpRequestMessage RequestMessage { get; set; }
```

#### Property Value

[HttpRequestMessage](https://learn.microsoft.com/dotnet/api/system.net.http.httprequestmessage)


## Related topics

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