Skip to main content

Module harness_auth

Module harness_auth 

Source
Expand description

Native coding-harness authentication coordination.

Supercode never reads, copies, or stores another harness’s credentials. It discovers the native CLI’s supported sign-in mechanisms, returns an explicit launch plan to the embedding host, and verifies the result through the harness’s own status command.

Structs§

HarnessAuthenticationLaunch
Process launch that an embedding host must run in a user-visible terminal.
HarnessAuthenticationMethod
One verified native authentication mechanism supported by a harness.
HarnessAuthenticationPlan
Host-executable plan for one selected authentication method.
HarnessAuthenticationReport
Redacted native authentication readiness and available methods.

Enums§

HarnessAuthenticationEnvironment
Environment in which the native authentication interaction must work.
HarnessAuthenticationError
Failure to construct a truthful native authentication plan.
HarnessAuthenticationInteraction
User interaction presented by an authentication method.
HarnessAuthenticationMethodId
Stable identifier for a harness-native authentication mechanism.
HarnessAuthenticationState
Credential readiness reported without exposing credential material.
HarnessBrowserBehavior
Whether the native CLI itself is expected to open a browser.

Constants§

HARNESS_AUTHENTICATION_SCHEMA
Stable schema identifier shared by authentication reports and launch plans.

Functions§

harness_authentication_methods
Return the verified native authentication methods for a harness.
harness_authentication_plan
Select a method for the requested environment and create its host-owned launch plan.
inspect_harness_authentication
Inspect redacted sign-in status using the harness’s own bounded status command.