AcquireTokenInteractiveParameterBuilder.WithLoginHint(String) 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.
Sets the loginHint
, in order to avoid select account
dialogs in the case the user is signed-in with several identities. This method is mutually exclusive
with WithAccount(IAccount). If both are used, an exception will be thrown
public Microsoft.Identity.Client.AcquireTokenInteractiveParameterBuilder WithLoginHint (string loginHint);
member this.WithLoginHint : string -> Microsoft.Identity.Client.AcquireTokenInteractiveParameterBuilder
Public Function WithLoginHint (loginHint As String) As AcquireTokenInteractiveParameterBuilder
Parameters
- loginHint
- String
Identifier of the user. Generally in UserPrincipalName (UPN) format, e.g. john.doe@contoso.com
Returns
The builder to chain the .With methods
Applies to
Comentários
https://aka.ms/ContentUserFeedback.
Brevemente: Ao longo de 2024, vamos descontinuar progressivamente o GitHub Issues como mecanismo de feedback para conteúdos e substituí-lo por um novo sistema de feedback. Para obter mais informações, veja:Submeter e ver comentários