auth.providers
The providers pi can log in to with OAuth and whether a credential authenticates each (omfp’s stored login or key, or an environment variable) (PRT-129).
Params: Empty
Section titled “Params: Empty”/** No params, or the `{}` result. */export type Empty = Record<string, never>;Result: AuthProviders
Section titled “Result: AuthProviders”/** `auth.providers` result (PRT-129): the providers pi can log in to with OAuth, in pi's order. */export type AuthProviders = { providers: AuthProvider[];};Types they use
Section titled “Types they use”/** One provider of `auth.providers` (PRT-129): one pi-ai can log in to with OAuth. */export type AuthProvider = { /** A credential authenticates it: a login or key omfp stored, or a key from the environment. */ authenticated: boolean; /** Its login can run here (always `true`). */ available: boolean; /** pi's provider id, e.g. `anthropic`, `openai-codex`: what `auth.login` takes. */ id: string; /** What the user reads, e.g. `Anthropic (Claude Pro/Max)`. */ name: string;};