3using Microsoft.Extensions.Logging;
20 protected override Uri
TokenUrl =>
new($
"{BaseProtocolPath}/token");
38 ILogger<KeycloakOAuthValidator> logger,
OAuth configuration options.
IOAuthValidator for generic OAuth2 endpoints.
OAuthConfiguration OAuthConfiguration
The OAuthConfiguration for the GenericOAuthValidator.
readonly IAbstractHttpClientFactory httpClientFactory
The IHttpClientFactory for the GenericOAuthValidator.
OAuth validator for Keycloak.
override string DecodeUserInformationPayload(dynamic responseJson)
override string DecodeTokenPayload(dynamic responseJson)
override Uri UserInformationUrl
KeycloakOAuthValidator(IAbstractHttpClientFactory httpClientFactory, ILogger< KeycloakOAuthValidator > logger, OAuthConfiguration oAuthConfiguration)
Initializes a new instance of the KeycloakOAuthValidator class.
override OAuthTokenRequest CreateTokenRequest(string code)
string BaseProtocolPath
Base path to the server's OAuth endpoint.
override OAuthProvider Provider
The OAuthProvider this validator is for.
Generic OAuth token request.
OAuthProvider
List of OAuth providers supported by TGS.