MCPcopy Index your code
hub / github.com/callstack/agent-device / resolveRemoteAuthForCli

Function resolveRemoteAuthForCli

src/cli/auth-session.ts:78–91  ·  view source on GitHub ↗
(options: {
  command: string;
  flags: CliFlags;
  stateDir: string;
  env?: EnvMap;
})

Source from the content-addressed store, hash-verified

76};
77
78export async function resolveRemoteAuthForCli(options: {
79 command: string;
80 flags: CliFlags;
81 stateDir: string;
82 env?: EnvMap;
83}): Promise<RemoteAuthResolution> {
84 return await resolveRemoteAuth({
85 command: options.command,
86 flags: options.flags,
87 stateDir: options.stateDir,
88 allowInteractiveLogin: options.command === 'connect' && !options.flags.noLogin,
89 env: options.env,
90 });
91}
92
93export async function resolveRemoteAuth(options: {
94 command: string;

Callers 1

runCliFunction · 0.90

Calls 1

resolveRemoteAuthFunction · 0.85

Tested by

no test coverage detected