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

## SuccessfullyAuthenticated Class

Represents a successful authentication response, encapsulating details about the outcome
of an authentication request, including any tokens issued as a result\.

```csharp
public record SuccessfullyAuthenticated : Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.ClientDeliveredResponse, System.IEquatable<Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.SuccessfullyAuthenticated>
```

Inheritance [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') → [AuthorizationResponse](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.AuthorizationResponse 'Abblix\.Oidc\.Server\.Endpoints\.Authorization\.Interfaces\.AuthorizationResponse') → [ClientDeliveredResponse](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.ClientDeliveredResponse 'Abblix\.Oidc\.Server\.Endpoints\.Authorization\.Interfaces\.ClientDeliveredResponse') → SuccessfullyAuthenticated

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

## SuccessfullyAuthenticated\(AuthorizationRequest, string, string, ICollection\<string\>\) Constructor {#Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.SuccessfullyAuthenticated.SuccessfullyAuthenticated(Abblix.Oidc.Server.Model.AuthorizationRequest,string,string,System.Collections.Generic.ICollection_string_)}

Represents a successful authentication response, encapsulating details about the outcome
of an authentication request, including any tokens issued as a result\.

```csharp
public SuccessfullyAuthenticated(Abblix.Oidc.Server.Model.AuthorizationRequest Model, string ResponseMode, string? SessionId, System.Collections.Generic.ICollection<string> AffectedClientIds);
```
#### Parameters

###### `Model` [AuthorizationRequest](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Model.AuthorizationRequest 'Abblix\.Oidc\.Server\.Model\.AuthorizationRequest') {#Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.SuccessfullyAuthenticated.SuccessfullyAuthenticated(Abblix.Oidc.Server.Model.AuthorizationRequest,string,string,System.Collections.Generic.ICollection_string_).Model}

The original authorization request that led to this successful authentication\.

###### `ResponseMode` [System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String') {#Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.SuccessfullyAuthenticated.SuccessfullyAuthenticated(Abblix.Oidc.Server.Model.AuthorizationRequest,string,string,System.Collections.Generic.ICollection_string_).ResponseMode}

Specifies how the result of the authentication should be returned to the client\.

###### `SessionId` [System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String') {#Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.SuccessfullyAuthenticated.SuccessfullyAuthenticated(Abblix.Oidc.Server.Model.AuthorizationRequest,string,string,System.Collections.Generic.ICollection_string_).SessionId}

An optional session identifier that may be used for session management\.

###### `AffectedClientIds` [System\.Collections\.Generic\.ICollection&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.icollection-1 'System\.Collections\.Generic\.ICollection\`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.icollection-1 'System\.Collections\.Generic\.ICollection\`1') {#Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.SuccessfullyAuthenticated.SuccessfullyAuthenticated(Abblix.Oidc.Server.Model.AuthorizationRequest,string,string,System.Collections.Generic.ICollection_string_).AffectedClientIds}

Identifiers of the clients that are affected by or related to this authentication
           process\.
### Properties

## SuccessfullyAuthenticated\.AccessToken Property {#Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.SuccessfullyAuthenticated.AccessToken}

The access token issued as part of the authentication response, encoded in a format suitable for transmission\.
Access tokens are credentials used to access protected resources\.

```csharp
public Abblix.Oidc.Server.Features.Tokens.EncodedJsonWebToken? AccessToken { 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')

## SuccessfullyAuthenticated\.AffectedClientIds Property {#Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.SuccessfullyAuthenticated.AffectedClientIds}

Identifiers of the clients that are affected by or related to this authentication
           process\.

```csharp
public System.Collections.Generic.ICollection<string> AffectedClientIds { get; init; }
```

#### Property Value
[System\.Collections\.Generic\.ICollection&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.icollection-1 'System\.Collections\.Generic\.ICollection\`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.icollection-1 'System\.Collections\.Generic\.ICollection\`1')

## SuccessfullyAuthenticated\.Code Property {#Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.SuccessfullyAuthenticated.Code}

An authorization code that can be exchanged for tokens\. This code is issued only if
the authentication request was successful and the response type requested an authorization code\.

```csharp
public string? Code { get; set; }
```

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

## SuccessfullyAuthenticated\.GrantedScopes Property {#Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.SuccessfullyAuthenticated.GrantedScopes}

The scope actually granted by the user\-consent decision — the same set the issued access/ID token
carries\. Threaded by the authorization request processor so the response encoder advertises it on
the front\-channel `scope` parameter\. May be a subset of the requested
[Scope](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Model.AuthorizationRequest#Abblix.Oidc.Server.Model.AuthorizationRequest.Scope 'Abblix\.Oidc\.Server\.Model\.AuthorizationRequest\.Scope') when the host consent provider narrows the grant \(RFC 6749 §3\.3\)\.

```csharp
public string[] GrantedScopes { 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')

## SuccessfullyAuthenticated\.IdToken Property {#Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.SuccessfullyAuthenticated.IdToken}

The ID token issued as part of the authentication response, providing identity information about the user\.
Encoded in a format suitable for transmission\.

```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')

## SuccessfullyAuthenticated\.Scope Property {#Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.SuccessfullyAuthenticated.Scope}

The granted `scope` as a space\-delimited string, populated by the response encoder for
implicit/hybrid flows only \(where the response itself carries tokens\)\. `null` for the code flow\.

```csharp
public string? Scope { get; set; }
```

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

## SuccessfullyAuthenticated\.SessionId Property {#Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.SuccessfullyAuthenticated.SessionId}

An optional session identifier that may be used for session management\.

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

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

## SuccessfullyAuthenticated\.SessionState Property {#Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.SuccessfullyAuthenticated.SessionState}

An optional state parameter reflecting the session state\. This can be used to represent the state of the user's
session at the authorization server and may be used for managing session continuity and logout\.

```csharp
public string? SessionState { get; set; }
```

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

## SuccessfullyAuthenticated\.TokenType Property {#Abblix.Oidc.Server.Endpoints.Authorization.Interfaces.SuccessfullyAuthenticated.TokenType}

The type of token issued, typically "Bearer", indicating how the issued token may be used\.
This property is populated if an access token is issued as part of the authentication response\.

```csharp
public string? TokenType { get; set; }
```

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