Compartir a través de


BaseAbstractAcquireTokenParameterBuilder<T> Class

Definition

Base class for builders of token requests, which attempt to acquire a token based on the provided parameters.

public abstract class BaseAbstractAcquireTokenParameterBuilder<T> where T : BaseAbstractAcquireTokenParameterBuilder<T>
type BaseAbstractAcquireTokenParameterBuilder<'T (requires 'T :> BaseAbstractAcquireTokenParameterBuilder<'T>)> = class
Public MustInherit Class BaseAbstractAcquireTokenParameterBuilder(Of T)

Type Parameters

T
Inheritance
BaseAbstractAcquireTokenParameterBuilder<T>
Derived

Constructors

BaseAbstractAcquireTokenParameterBuilder<T>()

Default constructor for AbstractAcquireTokenParameterBuilder.

Methods

ExecuteAsync()

Executes the Token request asynchronously.

ExecuteAsync(CancellationToken)

Executes the Token request asynchronously, with a possibility of cancelling the asynchronous method.

Validate()

Validates the parameters of the AcquireToken operation.

WithCorrelationId(Guid)

Sets the correlation id to be used in the authentication request. Used to track a request in the logs of both the SDK and the Identity Provider service. If not set, a random one will be generated.

WithExtraQueryParameters(Dictionary<String,String>)

Sets Extra Query Parameters for the query string in the HTTP authentication request.

Applies to