the AM host base URL
Get the IDM host base URL
the IDM host base URL
Reset the state to default values
Which credential type is currently active for this session — set once,
wherever getTokens()'s non-interactive branches (or a browser login)
actually activate a credential. Used by ops/PrivilegeEscalationOps.ts
to know where on the escalation ladder the current session sits.
Cached for the life of the session by determineCallerTrustTier() (ops/CallerTrustTierOps.ts).
Extension point letting a customer plug in their own privilege model for browser-login sessions — see ops/CallerTrustTierOps.ts.
Explicit, persisted preference for which non-interactive credential
type a profile with more than one configured should use — an
undefined value means "no preference set," not "none of the above."
Unlike authMode, never mirrors ambient session state on save; only
ever written when the caller explicitly requests it (e.g. via
--default-credential), so an unrelated save never silently
overwrites a previously-configured preference. See
AuthenticateOps.ts's tryBrowserLogin()/getTokens() for how this
is consulted.
Optionalclear: booleanSet the AM host base URL
Access Management base URL, e.g.: https://cdk.iam.example.com/am. To use a connection profile, just specify a unique substring or alias.
Set the IDM host base URL
Identity Management base URL, e.g.: https://cdk.iam.example.com/openidm. To use a connection profile, just specify a unique substring or alias.
Extension point letting api/BaseApi.ts trigger a credential-privilege
escalation without importing ops/AuthenticateOps.ts directly (would be
circular — AuthenticateOps.ts already depends on BaseApi.ts
transitively). Installed once by getTokens() after the initial
credential activates; called by attachCredentialInterceptor() when a
pre-flight scope check fails. Resolves true if a higher-tier
credential was found and activated (the failed request should be
retried), false if there is nothing left to escalate to.
Get the AM host base URL