Prompt Enum

  • java.lang.Object
    • java.lang.Enum<Prompt>
      • com.microsoft.identity.client.Prompt

public enum Prompt

The UI options that developer can pass during interactive token acquisition requests.

Fields

acquireToken will send prompt=consent to the authorize endpoint. The user will be prompted to consent even if consent was granted before.

LOGIN

acquireToken will send prompt=login to the authorize endpoint. The user will always be prompted for credentials by the service.

toString override is to enable the correct protocol value of login to be returned instead of "force_login".

SELECT_ACCOUNT

acquireToken will send prompt=select_account to the authorize endpoint. Shows a list of users from which can be selected for authentication.

Inherited Members

com.microsoft.identity.client._prompt_1ad2b425fa050ec3a452f1939f497fc178

Methods

toOpenIdConnectPromptParameter()

public OpenIdConnectPromptParameter toOpenIdConnectPromptParameter()

Returns

OpenIdConnectPromptParameter

toString()

public String toString()

Returns

String

Applies to