Table of Contents

Class PortalGenerateTokenRequest

Namespace
Honua.Sdk.GeoServices.Portal.Models
Assembly
Honua.Sdk.GeoServices.dll

Request payload for exchanging credentials at POST /sharing/rest/generateToken.

public sealed record PortalGenerateTokenRequest : IEquatable<PortalGenerateTokenRequest>
Inheritance
PortalGenerateTokenRequest
Implements
Inherited Members

Properties

Client

Optional binding mode (requestip, ip, or referer); defaults to referer when Referer is set and requestip otherwise.

public string? Client { get; init; }

Property Value

string

ExpirationMinutes

Optional requested token lifetime in minutes.

public int? ExpirationMinutes { get; init; }

Property Value

int?

Password

Password presented to the Portal token issuer.

public required string Password { get; init; }

Property Value

string

Referer

Optional referer URI registered with a referer-bound token; defaults to the portal origin when Client is referer.

public string? Referer { get; init; }

Property Value

string

Username

Username presented to the Portal token issuer.

public required string Username { get; init; }

Property Value

string