Package u1rest :: Package lib :: Package auth :: Module baseauth
[hide private]
[frames] | no frames]

Module baseauth

source code

Authentication Library for authorizing clients.

Classes [hide private]
  BaseAuthenticator
A base OAuthAuthenticator.
Variables [hide private]
  REQUEST_URL = 'https://login.ubuntu.com/api/1.0/authentication...
  AUTHORIZE_URL = 'https://one.ubuntu.com/oauth/sso-finished-so-...
  TEST_URL = 'https://one.ubuntu.com/api/account/'
  __package__ = 'u1rest.lib.auth'
Variables Details [hide private]

REQUEST_URL

Value:
'https://login.ubuntu.com/api/1.0/authentications?ws.op=authenticate&t\
oken_name=Ubuntu%%20One%%20@%%20%(token_name)s'

AUTHORIZE_URL

Value:
'https://one.ubuntu.com/oauth/sso-finished-so-get-tokens/%(email)s'