in fxa/plugins/requests.py [0:0]
def get_auth(self, fxa_id, fxa_password):
client_id = os.getenv("FXA_CLIENT_ID", DEFAULT_CLIENT_ID)
scopes = os.getenv("FXA_SCOPES")
account_server_url = os.getenv("FXA_ACCOUNT_SERVER_URL",
FXA_ACCOUNT_URL)
oauth_server_url = os.getenv("FXA_OAUTH_SERVER_URL", FXA_OAUTH_URL)
if scopes:
scopes = scopes.split()
return FxABearerTokenAuth(fxa_id, fxa_password, scopes, client_id,
account_server_url, oauth_server_url)