Module tokens_api

Source

Structs§

BulkRevokeTokensParams
struct for passing parameters to the method bulk_revoke_tokens
GetTokenParams
struct for passing parameters to the method get_token
ListTokensCustomerParams
struct for passing parameters to the method list_tokens_customer
RevokeTokenParams
struct for passing parameters to the method revoke_token

Enums§

BulkRevokeTokensError
struct for typed errors of method bulk_revoke_tokens
CreateTokenError
struct for typed errors of method create_token
GetTokenCurrentError
struct for typed errors of method get_token_current
GetTokenError
struct for typed errors of method get_token
ListTokensCustomerError
struct for typed errors of method list_tokens_customer
ListTokensUserError
struct for typed errors of method list_tokens_user
RevokeTokenCurrentError
struct for typed errors of method revoke_token_current
RevokeTokenError
struct for typed errors of method revoke_token

Functions§

bulk_revoke_tokens
Revoke Tokens in bulk format. Users may only revoke their own tokens. Superusers may revoke tokens of others.
create_token
Create an API token. If two-factor authentication is enabled for your account, review the instructions for including a one-time password in the request.
get_token
Get a single token by its id.
get_token_current
Get a single token based on the access_token used in the request.
list_tokens_customer
List all tokens belonging to a specific customer.
list_tokens_user
List all tokens belonging to the authenticated user.
revoke_token
Revoke a specific token by its id.
revoke_token_current
Revoke a token that is used to authenticate the request.