AcquireTokenByAuthorizationCodeParameterBuilder.WithPkceCodeVerifier Method

Definition

Used to secure authorization code grant via Proof of Key for Code Exchange (PKCE). See (https://tools.ietf.org/html/rfc7636) for more details.

public Microsoft.Identity.Client.AcquireTokenByAuthorizationCodeParameterBuilder WithPkceCodeVerifier (string pkceCodeVerifier);
member this.WithPkceCodeVerifier : string -> Microsoft.Identity.Client.AcquireTokenByAuthorizationCodeParameterBuilder
Public Function WithPkceCodeVerifier (pkceCodeVerifier As String) As AcquireTokenByAuthorizationCodeParameterBuilder

Parameters

pkceCodeVerifier
String

A dynamically created cryptographically random key used to provide proof of possession for the authorization code.

Returns

The builder to chain the .With methods

Applies to