Microsoft.IdentityModel.Protocols
base class for authentication protocol messages.
Initializes a default instance of the class.
Builds a form post using the current IssuerAddress and the parameters that have been set.
html with head set to 'Title', body containing a hiden from with action = IssuerAddress.
Builds a URL using the current IssuerAddress and the parameters that have been set.
UrlEncoded string.
Each parameter <Key, Value> is first transformed using .
Returns a parameter.
The parameter name.
The value of the parameter or null if the parameter does not exists.
If parameter is null
Gets or sets the issuer address.
If the 'value' is null.
Gets the message parameters as a Dictionary.
Gets or sets the title used when constructing the post string.
If the 'value' is null.
Removes a parameter.
The parameter name.
If 'parameter' is null or empty.
Sets a parameter to the Parameters Dictionary.
The parameter name.
The value to be assigned to parameter.
If 'parameterName' is null or empty.
If null is passed as value and the parameter exists, that parameter is removed.
Sets a collection parameters.
Gets the script used when constructing the post string.
If the 'value' is null.
Gets or sets the script button text used when constructing the post string.
If the 'value' is null.
Gets or sets the text used when constructing the post string that will be displayed to used if script is disabled.
If the 'value' is null.
Manages the retrieval of Configuration data.
The type of .
Instantiates a new that manages automatic and controls refreshing on configuration data.
The address to obtain configuration.
The
Instantiates a new that manages automatic and controls refreshing on configuration data.
The address to obtain configuration.
The
The client to use when obtaining configuration.
Instantiates a new that manages automatic and controls refreshing on configuration data.
The address to obtain configuration.
The
The that reaches out to obtain the configuration.
If 'metadataAddress' is null or empty.
If 'configRetriever' is null.
If 'docRetriever' is null.
Instantiates a new that manages automatic and controls refreshing on configuration data.
The address to obtain configuration.
The
The that reaches out to obtain the configuration.
The
If 'metadataAddress' is null or empty.
If 'configRetriever' is null.
If 'docRetriever' is null.
If 'lkgCacheOptions' is null.
Instantiates a new with configuration validator that manages automatic and controls refreshing on configuration data.
The address to obtain configuration.
The
The that reaches out to obtain the configuration.
The
If 'configValidator' is null.
Instantiates a new with configuration validator that manages automatic and controls refreshing on configuration data.
The address to obtain configuration.
The
The that reaches out to obtain the configuration.
The
The
If 'configValidator' is null.
Obtains an updated version of Configuration.
Configuration of type T.
If the time since the last call is less than then is not called and the current Configuration is returned.
Obtains an updated version of Configuration.
CancellationToken
Configuration of type T.
If the time since the last call is less than then is not called and the current Configuration is returned.
Obtains an updated version of Configuration.
CancellationToken
Configuration of type BaseConfiguration .
If the time since the last call is less than then is not called and the current Configuration is returned.
Requests that then next call to obtain new configuration.
If it is a first force refresh or the last refresh was greater than then the next call to will retrieve new configuration.
If == then this method does nothing.
12 hours is the default time interval that afterwards, will obtain new configuration.
5 minutes is the default time interval that must pass for to obtain a new configuration.
5 minutes is the minimum value for automatic refresh. can not be set less than this value.
1 second is the minimum time interval that must pass for to obtain new configuration.
Represents the result of validation a .
Gets or sets the error message that occurred during validation of the configuration.
Gets or sets a bool indicating if the configuration validation was successful.
Reads a local file from the disk.
Initializes a new instance of the class.
Reads a document using .
Fully qualified path to a file.
not used.
UTF8 decoding of bytes in the file.
If address is null or whitespace.
with inner expection containing the original exception.
Retrieves metadata information using HttpClient.
The key is used to add status code into .
The key is used to add response content into .
Gets or sets whether additional default headers are added to a headers. Set to true by default.
Gets or sets whether additional headers are added to a headers
Initializes a new instance of the class.
Initializes a new instance of the class with a specified httpClient.
'httpClient' is null.
Requires Https secure channel for sending requests.. This is turned ON by default for security reasons. It is RECOMMENDED that you do not allow retrieval from http addresses by default.
Returns a task which contains a string converted from remote document when completed, by using the provided address.
Location of document
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Document as a string
Interface that defines a model for retrieving configuration data.
The type of .
Retrieve the current configuration, refreshing and/or caching as needed.
This method will throw if the configuration cannot be retrieved, instead of returning null.
Indicate that the configuration may be stale (as indicated by failing to process incoming tokens).
Interface that defines methods to retrieve configuration.
The type of the configuration metadata.
Retrieves a populated configuration given an address and an .
Address of the discovery document.
The to use to read the discovery document.
A cancellation token that can be used by other objects or threads to receive notice of cancellation. .
Interface that defines a policy for validating configuration data.
The type of the configuration metadata.
Validate the retrieved configuration.
Configuration of type T.
.
Interface that defines a document retriever that returns the document as a string.
Obtains a document from an address.
location of document.
.
document as a string.
This exception is thrown when retrieved configuration is not valid.
Initializes a new instance of the class.
Initializes a new instance of the class.
Additional information to be included in the exception and displayed to user.
Initializes a new instance of the class.
Additional information to be included in the exception and displayed to user.
A that represents the root cause of the exception.
Initializes a new instance of the class.
The that holds the serialized object data.
The contextual information about the source or destination.
Specifies the LastKnownGoodConfigurationCacheOptions which can be used to configure the internal LKG configuration cache.
See for more details.
All fields/properties are now defined in the Microsoft.IdentityModel.Tokens.Configuration.LKGConfigurationCacheOptions class so they are more accessible from other assemblies/classes.
This type is for users that want a fixed and static Configuration.
In this case, the configuration is obtained and passed to the constructor.
must be a class.
Initializes an new instance of with a Configuration instance.
Configuration of type OpenIdConnectConfiguration or OpenIdConnectConfiguration.
Obtains an updated version of Configuration.
.
Configuration of type T.
Obtains an updated version of Configuration.
.
Configuration of type T.
For the this type, this is a no-op
Structure that represents an incoming or an outgoing http request.
Gets or sets the http request URI.
Gets or sets the http request method.
Gets or sets the http request body.
Gets or sets the collection of http request headers.
Gets or sets an that enables custom extensibility scenarios.
A utility method that appends to the .
A collection of http request headers.
Log messages and codes
Represents X509Certificate validation mode.