Class OnBeforeTokenRequestData
- Namespace
- Microsoft.Identity.Client.Extensibility
- Assembly
- Microsoft.Identity.Client.dll
Authentication request details
public sealed class OnBeforeTokenRequestData
- Inheritance
-
OnBeforeTokenRequestData
- Inherited Members
Constructors
OnBeforeTokenRequestData(IDictionary<string, string>, IDictionary<string, string>, Uri, CancellationToken)
Constructor.
public OnBeforeTokenRequestData(IDictionary<string, string> bodyParameters, IDictionary<string, string> headers, Uri requestUri, CancellationToken cancellationToken)
Parameters
bodyParameters
IDictionary<string, string>headers
IDictionary<string, string>requestUri
UricancellationToken
CancellationToken
Remarks
Apps should not have to use this constructor. It is provided for testability purposes.
Properties
BodyParameters
Parameters which will be sent in the request body, as POST parameters.
public IDictionary<string, string> BodyParameters { get; }
Property Value
CancellationToken
The cancellation token associated with the request
public CancellationToken CancellationToken { get; }
Property Value
Headers
Headers which will be sent with the request.
public IDictionary<string, string> Headers { get; }
Property Value
RequestUri
The token endpoint, including any query parameters, where the request is being sent to.
public Uri RequestUri { get; set; }
Property Value
- Uri