Skip to content
Meshline
SDK 1.6.0 · TypeView source on GitHub

Developer guide · API index

Members on this page

Meshline.Sdk

Meshline.Models.Client

AccountRecoveryOptions Class

Configures explicit account recovery, including prior device state and revision overrides.

public sealed class AccountRecoveryOptions

Inheritance System.Object → AccountRecoveryOptions

Properties

AccountRecoveryOptions.CertificateValidity Property

The requested device certificate lifetime, from one second through 720 days; defaults to 365 days.

public System.TimeSpan CertificateValidity { get; set; }

Property Value

System.TimeSpan

AccountRecoveryOptions.DeviceStateRevision Property

An explicit device-state revision, or null to select a recovery revision automatically.

public System.Nullable<long> DeviceStateRevision { get; set; }

Property Value

System.Nullable<System.Int64>

AccountRecoveryOptions.PreviousDeviceState Property

Optional verified prior device state used to preserve devices and advance the recovery revision.

public Meshline.Models.Protocol.AccountDeviceState? PreviousDeviceState { get; set; }

Property Value

AccountDeviceState

AccountRecoveryOptions.PushGateway Property

The complete HTTPS callback URL when recovery creates a new local device, or null for no declaration.

public string? PushGateway { get; set; }

Property Value

System.String

Remarks

A retained device keeps its declaration, including during renewal.
Use PushGateway to change or remove it.

AccountRecoveryOptions.RelayId Property

The target relay's canonical identifier, or null to prefer the resolved home relay and otherwise select an eligible registry relay.

public string? RelayId { get; set; }

Property Value

System.String

AccountRecoveryOptions.RouteRevision Property

An explicit route revision, or null to select a recovery revision automatically.

public System.Nullable<long> RouteRevision { get; set; }

Property Value

System.Nullable<System.Int64>

AccountRecoveryOptions.RouteValidity Property

The requested account route lifetime, from one second through 3650 days; defaults to 365 days.

public System.TimeSpan RouteValidity { get; set; }

Property Value

System.TimeSpan