Udostępnij za pośrednictwem


AcquireTokenByAuthorizationCodeParameterBuilder.WithSpaAuthorizationCode Method

Definition

Requests an auth code for the frontend (SPA using MSAL.js for instance). See https://aka.ms/msal-net/spa-auth-code for details.

public Microsoft.Identity.Client.AcquireTokenByAuthorizationCodeParameterBuilder WithSpaAuthorizationCode (bool requestSpaAuthorizationCode = true);
member this.WithSpaAuthorizationCode : bool -> Microsoft.Identity.Client.AcquireTokenByAuthorizationCodeParameterBuilder
Public Function WithSpaAuthorizationCode (Optional requestSpaAuthorizationCode As Boolean = true) As AcquireTokenByAuthorizationCodeParameterBuilder

Parameters

requestSpaAuthorizationCode
Boolean

Returns

The builder to chain the .With methods

Applies to