wepay.calls.oauth2 Module

class wepay.calls.oauth2.OAuth2(api)[source]

API OAuth2 Endpoints

authorize(client_id, redirect_uri, scope, state=None, user_name=None, user_email=None)[source]

Documentation: /oauth2/authorize.

Note

This is not an API call but an actual uri that you send the user to.

token(client_id, redirect_uri, client_secret, code, **kwargs)

Call documentation: /oauth2/token, plus extra keyword parameter:

Parameters: