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

## ResponseTypes Class

Represents common response types used in OAuth 2\.0 and OpenID Connect flows\.

```csharp
public static class ResponseTypes
```

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

### Remarks
Reference: https://openid.net/specs/oauth-v2-multiple-response-types-1\_0.html
### Fields

## ResponseTypes\.Code Field {#Abblix.Oidc.Server.Common.Constants.ResponseTypes.Code}

Represents the "code" response type, indicating the authorization code response type\.
This is used in the Authorization Code Flow to request an authorization code for later exchange\.

```csharp
public const string Code = "code";
```

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

## ResponseTypes\.IdToken Field {#Abblix.Oidc.Server.Common.Constants.ResponseTypes.IdToken}

Represents the "id\_token" response type, indicating the ID token response type\.
This is used to request only an ID token in the response, typically in OpenID Connect scenarios\.

```csharp
public const string IdToken = "id_token";
```

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

## ResponseTypes\.None Field {#Abblix.Oidc.Server.Common.Constants.ResponseTypes.None}

Represents the "none" response type \(OAuth 2\.0 Multiple Response Type Encoding Practices §4\)\.
The authorization request runs to completion but the response returns no authorization code and
no tokens — only `state` and, when advertised, `iss` \(RFC 9207\)\. It authorizes a grant
without returning credentials to the client at that time\. This value MUST NOT be combined with
any other response type\.

```csharp
public const string None = "none";
```

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

## ResponseTypes\.Token Field {#Abblix.Oidc.Server.Common.Constants.ResponseTypes.Token}

Represents the "token" response type, indicating the token response type\.
This is used in Implicit Flow to directly issue tokens to the client without using an authorization code\.

```csharp
public const string Token = "token";
```

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