-
Notifications
You must be signed in to change notification settings - Fork 0
Client Auth Methods
David O' Rojo edited this page Feb 23, 2015
·
4 revisions
This is a list of all available client methods for managing authorization and access.
- authorize: Generates the URL to be opened in the browser so the user can authorize the app to use his/her Volabit account.
- get_tokens: Requests and sets the access and refresh tokens to use the Volabit API resources.
- use_tokens: Loads the client with the provided token information.
- tokens: Gets the information of the tokens currently set on the client.
- refresh_tokens: Triggers a refresh of the current tokens. (This method is provided as convenience, the client checks the expiration of the tokens before each call to the API and tries to refresh them if they have expired.)
- sandbox: Toggles the test environment with a boolean value.