sdk.lusid.extensions.configuration_loaders.FileTokenConfigurationLoader

class FileTokenConfigurationLoader(access_token_location='')[source]

ConfigurationLoader which loads in access token from file if FBN_ACCESS_TOKEN_FILE is set, or if an access_token_location is passed to the initialiser

Methods

load_config

load access token from file

load_config()[source]

load access token from file

Return type:

Dict[str, Optional[FileAccessToken]]

Returns:

dictionary that can be loaded into an ApiConfiguration object

Return type:

Dict[str, str]