<PackageReference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="8.19.2" />

Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectGrantTypes

public static class OpenIdConnectGrantTypes
Defines grant types for token requests. See: .
public const string AuthorizationCode = "authorization_code"

Indicates the 'authorization_code' grant type. See: .

public const string Ciba = "urn:openid:params:grant-type:ciba"

Indicates the 'ciba' grant type. See: .

public const string ClientCredentials = "client_credentials"

Indicates the 'client_credentials' grant type. See: .

public const string DeviceCode = "urn:ietf:params:oauth:grant-type:device_code"

Indicates the 'device_code' grant type. See: .

public const string JwtBearer = "urn:ietf:params:oauth:grant-type:jwt-bearer"

Indicates the 'jwt-bearer' grant type. See: .

public const string Password = "password"

Indicates the 'password' grant type. See: .

public const string RefreshToken = "refresh_token"

Indicates the 'refresh_token' grant type. See: .

public const string Saml2Bearer = "urn:ietf:params:oauth:grant-type:saml2-bearer"

Indicates the 'saml2-bearer' grant type. See: .

public const string TokenExchange = "urn:ietf:params:oauth:grant-type:token-exchange"

Indicates the 'token-exchange' grant type. See: .