Table of Contents

Class OpenClawIdentityLoader

Namespace
JD.AI.Channels.OpenClaw
Assembly
JD.AI.Channels.OpenClaw.dll

Resolves OpenClaw state directory candidates and loads device identity/auth values.

public static class OpenClawIdentityLoader
Inheritance
OpenClawIdentityLoader
Inherited Members

Methods

HasRequiredIdentity(OpenClawConfig)

public static bool HasRequiredIdentity(OpenClawConfig config)

Parameters

config OpenClawConfig

Returns

bool

LoadDeviceIdentity(OpenClawConfig, string?)

public static void LoadDeviceIdentity(OpenClawConfig config, string? configuredStateDir = null)

Parameters

config OpenClawConfig
configuredStateDir string

ResolveStateDir(string?)

public static string ResolveStateDir(string? configuredStateDir = null)

Parameters

configuredStateDir string

Returns

string