Package soovee_app :: Package cli :: Module login
[frames] | no frames]

Module login

SooVee Serial Audio Manager - Login support module for the command interface. It allows SooVee to authorize itself with a service account.


Requires:
Functions
tuple
do_authorize(service, account, err='')
Authorize serial audio user against service containing the feeds.
Variables
  __package__ = None
Function Details

do_authorize(service, account, err='')

 

Authorize serial audio user against service containing the feeds. Attempt to authorize first and then fall back by passing an error back to method.

Parameters:
  • service (object) - Initialized soovee.conf.serviceConf object.
  • account (object/dict) - Intialized soovee.conf.Account shelf object.
  • err (str) - Error string to append to text description presented
Returns: tuple
tuple of cache, user, password that was accepted