Table of Contents

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

string

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

Func<CancellationToken, Task<string>>

Mode

The authentication mode to apply.

public required GeoServicesCredentialMode Mode { get; init; }

Property Value

GeoServicesCredentialMode

Password

The password for Basic.

public string? Password { get; init; }

Property Value

string

SourceBaseAddress

Origin the credential is bound to; when unset, the first authenticated request's origin is used.

public Uri? SourceBaseAddress { get; init; }

Property Value

Uri

Token

The token value for Token.

public string? Token { get; init; }

Property Value

string

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

Func<CancellationToken, Task<string>>

Username

The username for Basic.

public string? Username { get; init; }

Property Value

string