Class OAuth2Options
- Namespace
- Excalibur.Data.ElasticSearch.Security
- Assembly
- Excalibur.Data.ElasticSearch.dll
Configures OAuth2 and OpenID Connect authentication.
public sealed class OAuth2Options
- Inheritance
-
OAuth2Options
- Inherited Members
Properties
Authority
Gets the OAuth2 authority/issuer URL.
[Url]
public string? Authority { get; init; }
Property Value
- string
The base URL of the OAuth2 authorization server.
ClientId
Gets the OAuth2 client identifier.
public string? ClientId { get; init; }
Property Value
- string
The client ID registered with the OAuth2 provider.
Enabled
Gets a value indicating whether oAuth2 authentication is enabled.
public bool Enabled { get; init; }
Property Value
- bool
True to enable OAuth2/OpenID Connect authentication, false otherwise.
Scope
Gets the OAuth2 scope required for Elasticsearch access.
public string? Scope { get; init; }
Property Value
- string
The space-separated list of OAuth2 scopes.