juju/client/_client3.py
async def Login(self, auth_tag=None, bakery_version=None, cli_args=None, client_version=None, credentials=None, macaroons=None, nonce=None, user_data=None):
        '''
        Login logs in with the provided credentials.  All subsequent requests on the
        connection will act as the authenticated user.

        auth_tag : str
        bakery_version : int
        cli_args : str
        client_version : str
        credentials : str
        macaroons : typing.Sequence[~Macaroon]
        nonce : str
        user_data : str
        Returns -> LoginResult
        '''
        if auth_tag is not None and not isinstance(auth_tag, (bytes, str)):
            raise Exception("Expected auth_tag to be a str, received: {}".format(type(auth_tag)))

        if bakery_version is not None and not isinstance(bakery_version, int):
            raise Exception("Expected bakery_version to be a int, received: {}".format(type(bakery_version)))

        if cli_args is not None and not isinstance(cli_args, (bytes, str)):
            raise Exception("Expected cli_args to be a str, received: {}".format(type(cli_args)))

        if client_version is not None and not isinstance(client_version, (bytes, str)):
            raise Exception("Expected client_version to be a str, received: {}".format(type(client_version)))

        if credentials is not None and not isinstance(credentials, (bytes, str)):
            raise Exception("Expected credentials to be a str, received: {}".format(type(credentials)))

        if macaroons is not None and not isinstance(macaroons, (bytes, str, list)):
            raise Exception("Expected macaroons to be a Sequence, received: {}".format(type(macaroons)))

        if nonce is not None and not isinstance(nonce, (bytes, str)):
            raise Exception("Expected nonce to be a str, received: {}".format(type(nonce)))

        if user_data is not None and not isinstance(user_data, (bytes, str)):
            raise Exception("Expected user_data to be a str, received: {}".format(type(user_data)))

        # map input types to rpc msg
        _params = dict()
        msg = dict(type='Admin',
                   request='Login',
                   version=3,
                   params=_params)
        _params['auth-tag'] = auth_tag
        _params['bakery-version'] = bakery_version
        _params['cli-args'] = cli_args
        _params['client-version'] = client_version
        _params['credentials'] = credentials
        _params['macaroons'] = macaroons
        _params['nonce'] = nonce
        _params['user-data'] = user_data
        reply = await self.rpc(msg)
        return reply

        Login logs in with the provided credentials.  All subsequent requests on the
        connection will act as the authenticated user.

        auth_tag : str
        bakery_version : int
        cli_args : str
        client_version : str
        credentials : str
        macaroons : typing.Sequence[~Macaroon]
        nonce : str
        user_data : str
        Returns -> LoginResult
        
Login logs in with the provided credentials.  All subsequent requests on the
connection will act as the authenticated user.


Login logs in with the provided credentials . All subsequent requests on the connection will act as the authenticated user .
async def Login(self, auth_tag=None, bakery_version=None, cli_args=None, client_version=None, credentials=None, macaroons=None, nonce=None, user_data=None):
        if auth_tag is not None and not isinstance(auth_tag, (bytes, str)):
            raise Exception("Expected auth_tag to be a str, received: {}".format(type(auth_tag)))
        if bakery_version is not None and not isinstance(bakery_version, int):
            raise Exception("Expected bakery_version to be a int, received: {}".format(type(bakery_version)))
        if cli_args is not None and not isinstance(cli_args, (bytes, str)):
            raise Exception("Expected cli_args to be a str, received: {}".format(type(cli_args)))
        if client_version is not None and not isinstance(client_version, (bytes, str)):
            raise Exception("Expected client_version to be a str, received: {}".format(type(client_version)))
        if credentials is not None and not isinstance(credentials, (bytes, str)):
            raise Exception("Expected credentials to be a str, received: {}".format(type(credentials)))
        if macaroons is not None and not isinstance(macaroons, (bytes, str, list)):
            raise Exception("Expected macaroons to be a Sequence, received: {}".format(type(macaroons)))
        if nonce is not None and not isinstance(nonce, (bytes, str)):
            raise Exception("Expected nonce to be a str, received: {}".format(type(nonce)))
        if user_data is not None and not isinstance(user_data, (bytes, str)):
            raise Exception("Expected user_data to be a str, received: {}".format(type(user_data)))
        _params = dict()
        msg = dict(type='Admin',
                   request='Login',
                   version=3,
                   params=_params)
        _params['auth-tag'] = auth_tag
        _params['bakery-version'] = bakery_version
        _params['cli-args'] = cli_args
        _params['client-version'] = client_version
        _params['credentials'] = credentials
        _params['macaroons'] = macaroons
        _params['nonce'] = nonce
        _params['user-data'] = user_data
        reply = await self.rpc(msg)
        return reply
async def Login ( self , auth_tag = None , bakery_version = None , cli_args = None , client_version = None , credentials = None , macaroons = None , nonce = None , user_data = None ) : if auth_tag is not None and not isinstance ( auth_tag , ( bytes , str ) ) : raise Exception ( "Expected auth_tag to be a str, received: {}" . format ( type ( auth_tag ) ) ) if bakery_version is not None and not isinstance ( bakery_version , int ) : raise Exception ( "Expected bakery_version to be a int, received: {}" . format ( type ( bakery_version ) ) ) if cli_args is not None and not isinstance ( cli_args , ( bytes , str ) ) : raise Exception ( "Expected cli_args to be a str, received: {}" . format ( type ( cli_args ) ) ) if client_version is not None and not isinstance ( client_version , ( bytes , str ) ) : raise Exception ( "Expected client_version to be a str, received: {}" . format ( type ( client_version ) ) ) if credentials is not None and not isinstance ( credentials , ( bytes , str ) ) : raise Exception ( "Expected credentials to be a str, received: {}" . format ( type ( credentials ) ) ) if macaroons is not None and not isinstance ( macaroons , ( bytes , str , list ) ) : raise Exception ( "Expected macaroons to be a Sequence, received: {}" . format ( type ( macaroons ) ) ) if nonce is not None and not isinstance ( nonce , ( bytes , str ) ) : raise Exception ( "Expected nonce to be a str, received: {}" . format ( type ( nonce ) ) ) if user_data is not None and not isinstance ( user_data , ( bytes , str ) ) : raise Exception ( "Expected user_data to be a str, received: {}" . format ( type ( user_data ) ) ) _params = dict ( ) msg = dict ( type = 'Admin' , request = 'Login' , version = 3 , params = _params ) _params [ 'auth-tag' ] = auth_tag _params [ 'bakery-version' ] = bakery_version _params [ 'cli-args' ] = cli_args _params [ 'client-version' ] = client_version _params [ 'credentials' ] = credentials _params [ 'macaroons' ] = macaroons _params [ 'nonce' ] = nonce _params [ 'user-data' ] = user_data reply = await self . rpc ( msg ) return reply
Login logs in with the provided credentials.
Login logs in with the provided credentials .
'''
        Login logs in with the provided credentials.  All subsequent requests on the
        connection will act as the authenticated user.

        auth_tag : str
        bakery_version : int
        cli_args : str
        client_version : str
        credentials : str
        macaroons : typing.Sequence[~Macaroon]
        nonce : str
        user_data : str
        Returns -> LoginResult
        ''' # map input types to rpc msg
self
auth_tag
bakery_version
cli_args
client_version
credentials
macaroons
nonce
user_data