Skip to main content
Version: 4.2

OAuthClientAuthenticationMethod

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.2.0.0)

How token, refresh and revocation requests authenticate the client.

4.2.0+
public enum OAuthClientAuthenticationMethod

Fields​

NameDescriptionValue
ClientSecretBasicHTTP Basic authorization header, RFC 6749 section 2.3.1. Supported by Google, Entra and most OAuth 2.0 servers.
ClientSecretPostclient_id and client_secret in the form body. The default, the only method GitHub documents, and supported by Google and Entra.
NonePublic client: no secret is sent and PKCE S256 is always used. Allowed for OAuth2, for launcher hosts, for GitLab — whose non-confidential applications use PKCE with no secret — and for Entra only when the redirect URI is registered as a public client. An Entra redirect URI registered under the Web platform — which the Redirect and Popup flows both require — must send a client credential, so this value fails at the token endpoint there. Rejected at sign-in for Google and GitHub with Configuration. The secret resolution chain does not run.

Used By​

NameDescription
OAuthClient.ClientAuthenticationMethodReturns or sets the client authentication method for token requests.