Account
dflow auth:status
Show whether the current login is accepted, without printing the secret.
dflow auth:statusFlags
This command adds no flags of its own. --output, --api, and --context still apply.
What you see
The terminal prints status is logged in or logged out. server is the API URL. A user login includes email and credential_kind user. An API token includes credential_kind api_token and omits email. token is present or absent. Exit 0 when the API accepts the login.
When it fails
Exit 2 when no login is stored or the API rejects it. Exit 10 when the API cannot be reached.
How is this guide?
Last updated on