#### [Abblix\.Oidc\.Server](https://www.abblix.com/en/docs/api/abblix-oidc-server 'index')
### [Abblix\.Oidc\.Server\.Model](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Model 'Abblix\.Oidc\.Server\.Model')

## TokenResponse Class

The response from an OAuth 2\.0 / OpenID Connect token endpoint\. This is the framework\-neutral wire DTO both
transport adapters \(MVC, Minimal API\) serialize; serialization is identical across frameworks, so a single core
type serves both\.

```csharp
public record TokenResponse : System.IEquatable<Abblix.Oidc.Server.Model.TokenResponse>
```

Inheritance [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') → TokenResponse

Implements [System\.IEquatable&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.iequatable-1 'System\.IEquatable\`1')[TokenResponse](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Model.TokenResponse 'Abblix\.Oidc\.Server\.Model\.TokenResponse')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.iequatable-1 'System\.IEquatable\`1')
### Properties

## TokenResponse\.AccessToken Property {#Abblix.Oidc.Server.Model.TokenResponse.AccessToken}

The access token issued by the authorization server\.

```csharp
public string AccessToken { get; init; }
```

#### Property Value
[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')

## TokenResponse\.AuthorizationDetails Property {#Abblix.Oidc.Server.Model.TokenResponse.AuthorizationDetails}

RFC 9396 §7 `authorization_details`: the structured authorization data the token was granted for, echoed
back to the client byte\-exact\. Omitted when no Rich Authorization Request was used\.

```csharp
public System.Text.Json.Nodes.JsonArray? AuthorizationDetails { get; init; }
```

#### Property Value
[System\.Text\.Json\.Nodes\.JsonArray](https://learn.microsoft.com/en-us/dotnet/api/system.text.json.nodes.jsonarray 'System\.Text\.Json\.Nodes\.JsonArray')

## TokenResponse\.ExpiresIn Property {#Abblix.Oidc.Server.Model.TokenResponse.ExpiresIn}

The lifetime in seconds of the access token\.

```csharp
public System.TimeSpan ExpiresIn { get; init; }
```

#### Property Value
[System\.TimeSpan](https://learn.microsoft.com/en-us/dotnet/api/system.timespan 'System\.TimeSpan')

## TokenResponse\.IdToken Property {#Abblix.Oidc.Server.Model.TokenResponse.IdToken}

The ID token \(a JWT carrying the user's identity\), present in OpenID Connect flows\.

```csharp
public string? IdToken { get; init; }
```

#### Property Value
[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')

## TokenResponse\.IssuedTokenType Property {#Abblix.Oidc.Server.Model.TokenResponse.IssuedTokenType}

The type of the issued token, typically an absolute URI identifying the token type\.

```csharp
public System.Uri? IssuedTokenType { get; set; }
```

#### Property Value
[System\.Uri](https://learn.microsoft.com/en-us/dotnet/api/system.uri 'System\.Uri')

## TokenResponse\.RefreshToken Property {#Abblix.Oidc.Server.Model.TokenResponse.RefreshToken}

The refresh token, used to obtain new access tokens using the same authorization grant\.

```csharp
public string? RefreshToken { get; init; }
```

#### Property Value
[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')

## TokenResponse\.Scope Property {#Abblix.Oidc.Server.Model.TokenResponse.Scope}

The scope of the access token as granted by the resource owner\.

```csharp
public string[]? Scope { get; init; }
```

#### Property Value
[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')[\[\]](https://learn.microsoft.com/en-us/dotnet/api/system.array 'System\.Array')

## TokenResponse\.TokenType Property {#Abblix.Oidc.Server.Model.TokenResponse.TokenType}

The type of token that is issued, usually 'Bearer'\.

```csharp
public string TokenType { get; init; }
```

#### Property Value
[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')
