Class KeycloakInstallationOptions
- Namespace
- Keycloak.AuthServices.Common
- Assembly
- Keycloak.AuthServices.Common.dll
Installation options provided by Keycloak
public class KeycloakInstallationOptions
- Inheritance
-
KeycloakInstallationOptions
- Derived
- Inherited Members
Remarks
See "/.well-known/openid-configuration"
Properties
AuthServerUrl
Authorization server URL
[ConfigurationKeyName("AuthServerUrl")]
public string? AuthServerUrl { get; set; }
Property Value
Examples
"auth-server-url": "http://localhost:8088/auth/"
Remarks
The value is normalized, the trailing '/' is ensured.
Credentials
Credentials, defined for private client
public KeycloakClientInstallationCredentials Credentials { get; set; }
Property Value
KeycloakTokenEndpoint
Token endpoint URL including Realm
public string KeycloakTokenEndpoint { get; }
Property Value
KeycloakUrlRealm
Realm URL
public string KeycloakUrlRealm { get; }
Property Value
Realm
Keycloak Realm
public string Realm { get; set; }
Property Value
Resource
Resource as client id
public string Resource { get; set; }
Property Value
Examples
"resource": "client-id"
SslRequired
Require HTTPS
[ConfigurationKeyName("SslRequired")]
public string SslRequired { get; set; }
Property Value
TokenClockSkew
Optional
[ConfigurationKeyName("TokenClockSkew")]
public TimeSpan TokenClockSkew { get; set; }
Property Value
Remarks
- Default: 0 seconds
VerifyTokenAudience
Audience verification
[ConfigurationKeyName("VerifyTokenAudience")]
public bool? VerifyTokenAudience { get; set; }
Property Value
- bool?