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

## TokenIssued Class

Successful token endpoint response per RFC 6749 §5\.1, optionally extended with the OIDC Core 1\.0
§3\.1\.3\.3 `id_token`\.

```csharp
public record TokenIssued : System.IEquatable<Abblix.Oidc.Server.Endpoints.Token.Interfaces.TokenIssued>
```

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

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

## TokenIssued\(EncodedJsonWebToken, string, TimeSpan, Uri\) Constructor {#Abblix.Oidc.Server.Endpoints.Token.Interfaces.TokenIssued.TokenIssued(Abblix.Oidc.Server.Features.Tokens.EncodedJsonWebToken,string,System.TimeSpan,System.Uri)}

Successful token endpoint response per RFC 6749 §5\.1, optionally extended with the OIDC Core 1\.0
§3\.1\.3\.3 `id_token`\.

```csharp
public TokenIssued(Abblix.Oidc.Server.Features.Tokens.EncodedJsonWebToken AccessToken, string TokenType, System.TimeSpan ExpiresIn, System.Uri IssuedTokenType);
```
#### Parameters

###### `AccessToken` [EncodedJsonWebToken](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.Tokens.EncodedJsonWebToken 'Abblix\.Oidc\.Server\.Features\.Tokens\.EncodedJsonWebToken') {#Abblix.Oidc.Server.Endpoints.Token.Interfaces.TokenIssued.TokenIssued(Abblix.Oidc.Server.Features.Tokens.EncodedJsonWebToken,string,System.TimeSpan,System.Uri).AccessToken}

The issued access token \(`access_token`\)\.

###### `TokenType` [System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String') {#Abblix.Oidc.Server.Endpoints.Token.Interfaces.TokenIssued.TokenIssued(Abblix.Oidc.Server.Features.Tokens.EncodedJsonWebToken,string,System.TimeSpan,System.Uri).TokenType}

The `token_type`, typically `Bearer` \(RFC 6750\)\.

###### `ExpiresIn` [System\.TimeSpan](https://learn.microsoft.com/en-us/dotnet/api/system.timespan 'System\.TimeSpan') {#Abblix.Oidc.Server.Endpoints.Token.Interfaces.TokenIssued.TokenIssued(Abblix.Oidc.Server.Features.Tokens.EncodedJsonWebToken,string,System.TimeSpan,System.Uri).ExpiresIn}

Lifetime returned as `expires_in`\.

###### `IssuedTokenType` [System\.Uri](https://learn.microsoft.com/en-us/dotnet/api/system.uri 'System\.Uri') {#Abblix.Oidc.Server.Endpoints.Token.Interfaces.TokenIssued.TokenIssued(Abblix.Oidc.Server.Features.Tokens.EncodedJsonWebToken,string,System.TimeSpan,System.Uri).IssuedTokenType}

URI identifying the type of the issued token, used by RFC 8693 token exchange\.
### Properties

## TokenIssued\.AccessToken Property {#Abblix.Oidc.Server.Endpoints.Token.Interfaces.TokenIssued.AccessToken}

The issued access token \(`access_token`\)\.

```csharp
public Abblix.Oidc.Server.Features.Tokens.EncodedJsonWebToken AccessToken { get; init; }
```

#### Property Value
[EncodedJsonWebToken](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.Tokens.EncodedJsonWebToken 'Abblix\.Oidc\.Server\.Features\.Tokens\.EncodedJsonWebToken')

## TokenIssued\.AuthorizationDetails Property {#Abblix.Oidc.Server.Endpoints.Token.Interfaces.TokenIssued.AuthorizationDetails}

The RFC 9396 `authorization_details` assigned to the access token as the raw
[System\.Text\.Json\.Nodes\.JsonArray](https://learn.microsoft.com/en-us/dotnet/api/system.text.json.nodes.jsonarray 'System\.Text\.Json\.Nodes\.JsonArray'), surfaced byte\-exact in the JSON token response per RFC 9396 §7
\(MUST\)\. `null` when no RAR 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')

## TokenIssued\.ExpiresIn Property {#Abblix.Oidc.Server.Endpoints.Token.Interfaces.TokenIssued.ExpiresIn}

Lifetime returned as `expires_in`\.

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

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

## TokenIssued\.IdToken Property {#Abblix.Oidc.Server.Endpoints.Token.Interfaces.TokenIssued.IdToken}

An ID token that provides identity information about the user\.

```csharp
public Abblix.Oidc.Server.Features.Tokens.EncodedJsonWebToken? IdToken { get; set; }
```

#### Property Value
[EncodedJsonWebToken](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.Tokens.EncodedJsonWebToken 'Abblix\.Oidc\.Server\.Features\.Tokens\.EncodedJsonWebToken')

## TokenIssued\.IssuedTokenType Property {#Abblix.Oidc.Server.Endpoints.Token.Interfaces.TokenIssued.IssuedTokenType}

URI identifying the type of the issued token, used by RFC 8693 token exchange\.

```csharp
public System.Uri IssuedTokenType { get; init; }
```

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

## TokenIssued\.RefreshToken Property {#Abblix.Oidc.Server.Endpoints.Token.Interfaces.TokenIssued.RefreshToken}

The optional refresh token that can be used to obtain new access tokens\.

```csharp
public Abblix.Oidc.Server.Features.Tokens.EncodedJsonWebToken? RefreshToken { get; set; }
```

#### Property Value
[EncodedJsonWebToken](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.Tokens.EncodedJsonWebToken 'Abblix\.Oidc\.Server\.Features\.Tokens\.EncodedJsonWebToken')

## TokenIssued\.Scope Property {#Abblix.Oidc.Server.Endpoints.Token.Interfaces.TokenIssued.Scope}

The scopes associated with the access token issued\. Scopes indicate the permissions granted to the access token\.

```csharp
public System.Collections.Generic.IEnumerable<string> Scope { get; }
```

#### Property Value
[System\.Collections\.Generic\.IEnumerable&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1 'System\.Collections\.Generic\.IEnumerable\`1')[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1 'System\.Collections\.Generic\.IEnumerable\`1')

## TokenIssued\.TokenType Property {#Abblix.Oidc.Server.Endpoints.Token.Interfaces.TokenIssued.TokenType}

The `token_type`, typically `Bearer` \(RFC 6750\)\.

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

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