Framework for Python

Cloud

cloud_logout()

Remove this machine's stored token for a server. Returns what was removed.

Both the keyring entry and the token file are removed. For the default server, the legacy keyring entry and ~/.secrets/framework/token are removed too.

Usage

cloud_logout(url: str | None = None) -> list[str]

Arguments

Name Type Default Description
url str | None None

The server. Default: FW_CLOUD_URL, then your saved default, then https://framework.pub.

Value

A description of each keyring entry and the path of each file removed. The list is empty when no token was stored.