AcquireTokenByAuthorizationCodeParameterBuilder.WithSpaAuthorizationCode Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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