auth.logout
Removes every credential omfp stored for a provider (PRT-133).
Params: ProviderRef
Section titled “Params: ProviderRef”/** `auth.login` and `auth.logout` params: the provider's pi id (PRT-130, PRT-133). */export type ProviderRef = { providerId: string;};Result: LoggedOut
Section titled “Result: LoggedOut”/** `auth.logout` result (PRT-133). */export type LoggedOut = { providerId: string; /** * What still authenticates the provider once they are gone, as pi names it (e.g. an environment variable); * `null` when nothing does. */ remainingSource?: string | null; /** How many stored credentials (logins and stored keys) of the provider were removed. */ removed: number;};