Table of Contents

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 Uri
cancellationToken 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

IDictionary<string, string>

CancellationToken

The cancellation token associated with the request

public CancellationToken CancellationToken { get; }

Property Value

CancellationToken

Headers

Headers which will be sent with the request.

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

Property Value

IDictionary<string, string>

RequestUri

The token endpoint, including any query parameters, where the request is being sent to.

public Uri RequestUri { get; set; }

Property Value

Uri