/// <summary>
 /// Specifies the what the interactive experience is for the user.
 /// </summary>
 /// <param name="prompt">Requested interactive experience. The default is <see cref="Prompt.SelectAccount"/>
 /// </param>
 /// <returns>The builder to chain the .With methods</returns>
 public AcquireTokenInteractiveParameterBuilder WithPrompt(Prompt prompt)
 {
     CommonParameters.AddApiTelemetryFeature(ApiTelemetryFeature.WithPrompt);
     Parameters.Prompt = prompt;
     return(this);
 }
示例#2
0
 /// <summary>
 /// Specifies the what the interactive experience is for the user.
 /// </summary>
 /// <param name="prompt">Requested interactive experience. The default is <see cref="Prompt.SelectAccount"/>
 /// </param>
 /// <returns>The builder to chain the .With methods</returns>
 public AcquireTokenInteractiveParameterBuilder WithPrompt(Prompt prompt)
 {
     Parameters.Prompt = prompt;
     return(this);
 }
 /// <summary>
 /// Specifies the interactive experience for the user.
 /// </summary>
 /// <param name="prompt">Requested interactive experience. The default is <see cref="Prompt.SelectAccount"/>
 /// </param>
 /// <returns>The builder to chain the .With methods</returns>
 public GetAuthorizationRequestUrlParameterBuilder WithPrompt(Prompt prompt)
 {
     Parameters.Prompt = prompt;
     return(this);
 }