Skip to main content Link Search Menu Expand Document (external link)

Logout overview

Auth Logout Command

Clears stored OAuth credentials and cached tokens.

Added in v0.0.3


Table of contents


utils

logout

Auth logout command.

Removes all stored OAuth credentials and clears cached access tokens. After logout, you’ll need to run auth login again to authenticate.

Usage:

p1-cli auth logout

Signature

export declare const logout: Command.Command<"logout", OAuthService, OAuthFlowError, {}>

Added in v0.0.3