Class GatewayMetadata
A registered gateway read from metadata.json.
public sealed record GatewayMetadata : IEquatable<GatewayMetadata>
- Inheritance
-
GatewayMetadata
- Implements
- Inherited Members
Properties
AuthMode
Authentication mode.
public GatewayAuthMode AuthMode { get; init; }
Property Value
Directory
Registration directory holding metadata.json: the user or the system gateway directory.
public required string Directory { get; init; }
Property Value
Endpoint
Gateway endpoint URL.
public required Uri Endpoint { get; init; }
Property Value
Name
Gateway name (the registration directory name).
public required string Name { get; init; }
Property Value
OidcAudience
OIDC audience.
public string? OidcAudience { get; init; }
Property Value
OidcClientId
OIDC client id.
public string? OidcClientId { get; init; }
Property Value
OidcIssuer
OIDC issuer URL, when the gateway uses OIDC.
public string? OidcIssuer { get; init; }
Property Value
OidcScopes
Space-separated OIDC scopes.
public string? OidcScopes { get; init; }
Property Value
Source
Where the registration was found.
public GatewayConfigSource Source { get; init; }
Property Value
StateDirectory
Per-user directory holding the gateway's credentials: the mtls bundle, oidc_token.json and
edge_token. As in the OpenShell CLI it is always the user gateway directory, also for a system registration,
because only active_gateway and metadata.json come from the system configuration. Defaults to
Directory.
public string StateDirectory { get; init; }