OAuthPrompt
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.2.0.0)
The prompt behaviour requested from the identity provider, mapped per provider.
4.2.0+- C#
- VB.NET
public enum OAuthPrompt
Public Enum OAuthPrompt
Fields
| Name | Description | Value |
|---|---|---|
| Consent | prompt=consent. Sent to Google, Entra and OAuth2. Ignored by GitHub; not sent to GitLab. | |
| Default | No prompt parameter is sent. Google still receives prompt=consent when OfflineAccess is true, so that a refresh token is issued. | |
| Login | prompt=login. Sent to Entra and OAuth2. Google has no "login" value and receives select_account instead. Ignored by GitHub; not sent to GitLab. | |
| None | prompt=none — silent authentication. Sent to Google, Entra and OAuth2. Ignored by GitHub; not sent to GitLab. | |
| SelectAccount | prompt=select_account. Sent to Google, GitHub, Entra and OAuth2 — the only value GitHub honours — and not sent to GitLab. Entra rejects login_hint together with select_account, so LoginHint is dropped for Entra in this mode. |
Used By
| Name | Description |
|---|---|
| OAuthSignInEventArgs.Prompt | Returns or sets the prompt behaviour for this attempt. |
| OAuthAuthorizationRequest.Prompt | Returns the prompt behaviour of this attempt. |
| OAuthClient.Prompt | Returns or sets the requested provider interaction. |