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

Microsoft.IdentityModel.Protocols.AuthenticationProtocolMessage

public abstract class AuthenticationProtocolMessage
base class for authentication protocol messages.
public string IssuerAddress { get; set; }

Gets or sets the issuer address.

public IDictionary<string, string> Parameters { get; }

Gets the message parameters as a Dictionary.

public string PostTitle { get; set; }

Gets or sets the title used when constructing the post string.

public string Script { get; set; }

Gets the script used when constructing the post string.

public string ScriptButtonText { get; set; }

Gets or sets the script button text used when constructing the post string.

public string ScriptDisabledText { get; set; }

Gets or sets the text used when constructing the post string that will be displayed to used if script is disabled.

Initializes a default instance of the AuthenticationProtocolMessage class.

public virtual string BuildFormPost()

Builds a form post using the current IssuerAddress and the parameters that have been set.

public virtual string BuildRedirectUrl()

Builds a URL using the current IssuerAddress and the parameters that have been set.

public virtual string GetParameter(string parameter)

Returns a parameter.

public virtual void RemoveParameter(string parameter)

Removes a parameter.

public void SetParameter(string parameter, string value)

Sets a parameter to the Parameters Dictionary.

public virtual void SetParameters(NameValueCollection nameValueCollection)

Sets a collection parameters.