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

Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectMessage

public class OpenIdConnectMessage : AuthenticationProtocolMessage
Provides access to common OpenID Connect parameters.
public static bool EnableTelemetryParametersByDefault { get; set; }

Gets or sets whether parameters for the library and version are sent on the query string for all instances of OpenIdConnectMessage.

public string AccessToken { get; set; }

Gets or sets 'access_Token'.

public string AcrValues { get; set; }

Gets or sets 'acr_values'.

public string AuthorizationEndpoint { get; set; }

Gets or sets the value for the AuthorizationEndpoint

public string ClaimsLocales { get; set; }

Gets or sets 'claims_Locales'.

public string ClientAssertion { get; set; }

Gets or sets 'client_assertion'.

public string ClientAssertionType { get; set; }

Gets or sets 'client_assertion_type'.

public string ClientId { get; set; }

Gets or sets 'client_id'.

public string ClientSecret { get; set; }

Gets or sets 'client_secret'.

public string Code { get; set; }

Gets or sets 'code'.

public string Display { get; set; }

Gets or sets 'display'.

public string DomainHint { get; set; }

Gets or sets 'domain_hint'.

public bool EnableTelemetryParameters { get; set; }

Gets or sets whether parameters for the library and version are sent on the query string for this OpenIdConnectMessage instance. This value is set to the value of EnableTelemetryParametersByDefault at message creation time.

public string Error { get; set; }

Gets or sets 'error'.

public string ErrorDescription { get; set; }

Gets or sets 'error_description'.

public string ErrorUri { get; set; }

Gets or sets 'error_uri'.

public string ExpiresIn { get; set; }

Gets or sets 'expires_in'.

public string GrantType { get; set; }

Gets or sets 'grant_type'.

public string IdentityProvider { get; set; }

Gets or sets 'identity_provider'.

public string IdToken { get; set; }

Gets or sets 'id_token'.

public string IdTokenHint { get; set; }

Gets or sets 'id_token_hint'.

public string Iss { get; set; }

Gets or sets 'iss'.

public string LoginHint { get; set; }

Gets or sets 'login_hint'.

public string MaxAge { get; set; }

Gets or sets 'max_age'.

public string Nonce { get; set; }

Gets or sets 'nonce'.

public string Password { get; set; }

Gets or sets 'password'.

public string PostLogoutRedirectUri { get; set; }

Gets or sets 'post_logout_redirect_uri'.

public string Prompt { get; set; }

Gets or sets 'prompt'.

public string RedirectUri { get; set; }

Gets or sets 'redirect_uri'.

public string RefreshToken { get; set; }

Gets or sets 'refresh_token'.

Gets or set the request type for this message

public string RequestUri { get; set; }

Gets or sets 'request_uri'.

public string Resource { get; set; }

Gets or sets 'resource'

public string ResponseMode { get; set; }

Gets or sets 'response_mode'.

public string ResponseType { get; set; }

Gets or sets 'response_type'.

public string Scope { get; set; }

Gets or sets 'scope'.

public string SessionState { get; set; }

Gets or sets 'session_state'.

public string Sid { get; set; }

Gets or sets 'sid'.

public string SkuTelemetryValue { get; set; }

Gets the string that is sent as telemetry data in an OpenIdConnectMessage.

public string State { get; set; }

Gets or sets 'state'.

public string TargetLinkUri { get; set; }

Gets or sets 'target_link_uri'.

public string TokenEndpoint { get; set; }

Gets or sets the value for the token endpoint.

public string TokenType { get; set; }

Gets or sets 'token_type'.

public string UiLocales { get; set; }

Gets or sets 'ui_locales'.

public string UserId { get; set; }

Gets or sets 'user_id'.

public string Username { get; set; }

Gets or sets 'username'.

Initializes a new instance of the OpenIdConnectMessage class.

public OpenIdConnectMessage(string json)

Initializes a new instance of OpenIdConnectMessage class with a json string.

Initializes a new instance of the OpenIdConnectMessage class.

public OpenIdConnectMessage(NameValueCollection nameValueCollection)

Initializes a new instance of the OpenIdConnectMessage class.

public OpenIdConnectMessage(IEnumerable<KeyValuePair<string, string[]>> parameters)

Initializes a new instance of the OpenIdConnectMessage class.

public virtual OpenIdConnectMessage Clone()

Returns a new instance of OpenIdConnectMessage with values copied from this object.

public virtual string CreateAuthenticationRequestUrl()

Creates an OpenIdConnect message using the current contents of this OpenIdConnectMessage.

public virtual string CreateLogoutRequestUrl()

Creates a query string using the current contents of this OpenIdConnectMessage.