Class GeoServicesSourceCredential
- Namespace
- Honua.Sdk.GeoServices.FeatureServer
- Assembly
- Honua.Sdk.GeoServices.dll
Credential for a third-party GeoServices REST source, applied by GeoServicesSourceCredentialHandler.
public sealed record GeoServicesSourceCredential : IEquatable<GeoServicesSourceCredential>
- Inheritance
-
GeoServicesSourceCredential
- Implements
- Inherited Members
Properties
BearerToken
The bearer token for Bearer.
public string? BearerToken { get; init; }
Property Value
BearerTokenProvider
Optional per-request bearer token provider; overrides BearerToken, and null or empty omits the header.
public Func<CancellationToken, Task<string?>>? BearerTokenProvider { get; init; }
Property Value
Mode
The authentication mode to apply.
public required GeoServicesCredentialMode Mode { get; init; }
Property Value
Password
The password for Basic.
public string? Password { get; init; }
Property Value
SourceBaseAddress
Origin the credential is bound to; when unset, the first authenticated request's origin is used.
public Uri? SourceBaseAddress { get; init; }
Property Value
Token
The token value for Token.
public string? Token { get; init; }
Property Value
TokenProvider
Optional per-request token provider; overrides Token, and null or empty omits the token.
public Func<CancellationToken, Task<string?>>? TokenProvider { get; init; }
Property Value
Username
The username for Basic.
public string? Username { get; init; }