SYMBOL INDEX (208 symbols across 16 files) FILE: aws_google_auth/__init__.py function parse_args (line 21) | def parse_args(args): function exit_if_unsupported_python (line 58) | def exit_if_unsupported_python(): function cli (line 72) | def cli(cli_args): function resolve_config (line 89) | def resolve_config(args): function process_auth (line 196) | def process_auth(args, config): function main (line 288) | def main(): FILE: aws_google_auth/amazon.py class Amazon (line 17) | class Amazon: method __init__ (line 19) | def __init__(self, config, saml_xml): method sts_client (line 25) | def sts_client(self): method base64_encoded_saml (line 38) | def base64_encoded_saml(self): method token (line 42) | def token(self): method access_key_id (line 51) | def access_key_id(self): method secret_access_key (line 55) | def secret_access_key(self): method session_token (line 59) | def session_token(self): method expiration (line 63) | def expiration(self): method print_export_line (line 66) | def print_export_line(self): method roles (line 78) | def roles(self): method assume_role (line 87) | def assume_role(self, role, principal, saml_assertion, duration=None, ... method resolve_aws_aliases (line 121) | def resolve_aws_aliases(self, roles): method is_valid_saml_assertion (line 160) | def is_valid_saml_assertion(saml_xml): FILE: aws_google_auth/configuration.py class Configuration (line 17) | class Configuration(object): method __init__ (line 19) | def __init__(self, **kwargs): method config_profile (line 48) | def config_profile(profile): method max_duration (line 55) | def max_duration(self): method credentials_file (line 59) | def credentials_file(self): method config_file (line 63) | def config_file(self): method saml_cache_file (line 67) | def saml_cache_file(self): method ensure_config_files_exist (line 70) | def ensure_config_files_exist(self): method saml_cache (line 82) | def saml_cache(self): method saml_cache (line 89) | def saml_cache(self, value): method raise_if_invalid (line 97) | def raise_if_invalid(self): method write (line 152) | def write(self, amazon_object): method read (line 216) | def read(self, profile): FILE: aws_google_auth/google.py class ExpectedGoogleException (line 32) | class ExpectedGoogleException(Exception): method __init__ (line 33) | def __init__(self, *args): class Google (line 37) | class Google: method __init__ (line 38) | def __init__(self, config, save_failure, save_flow=False): method login_url (line 63) | def login_url(self): method check_for_failure (line 67) | def check_for_failure(self, sess): method _save_file_name (line 98) | def _save_file_name(self, url): method _save_request (line 104) | def _save_request(self, url, method='GET', data=None, json_data=None): method _save_response (line 115) | def _save_response(self, url, response): method post (line 121) | def post(self, url, data=None, json_data=None): method get (line 141) | def get(self, url): method parse_error_message (line 162) | def parse_error_message(sess): method find_key_handles (line 172) | def find_key_handles(input, challengeTxt): method find_app_id (line 198) | def find_app_id(inputString): method do_login (line 207) | def do_login(self): method check_extra_step (line 346) | def check_extra_step(response): method parse_saml (line 352) | def parse_saml(self): method handle_captcha (line 371) | def handle_captcha(self, sess, payload): method handle_sk (line 450) | def handle_sk(self, sess): method handle_sms (line 540) | def handle_sms(self, sess): method handle_prompt (line 567) | def handle_prompt(self, sess): method check_prompt_code (line 654) | def check_prompt_code(response): method handle_totp (line 663) | def handle_totp(self, sess): method handle_dp (line 694) | def handle_dp(self, sess): method handle_iap (line 712) | def handle_iap(self, sess): method handle_selectchallenge (line 830) | def handle_selectchallenge(self, sess): FILE: aws_google_auth/tests/test_amazon.py class TestAmazon (line 12) | class TestAmazon(unittest.TestCase): method valid_config (line 15) | def valid_config(self): method read_local_file (line 22) | def read_local_file(self, filename): method test_sts_client (line 27) | def test_sts_client(self): method test_role_extraction (line 31) | def test_role_extraction(self): method test_role_extraction_too_many_commas (line 41) | def test_role_extraction_too_many_commas(self): method test_invalid_saml_too_soon (line 52) | def test_invalid_saml_too_soon(self): method test_invalid_saml_too_late (line 56) | def test_invalid_saml_too_late(self): method test_invalid_saml_expired_before_valid (line 60) | def test_invalid_saml_expired_before_valid(self): method test_invalid_saml_bad_input (line 64) | def test_invalid_saml_bad_input(self): method test_valid_saml (line 71) | def test_valid_saml(self): method test_sts_client_with_invalid_profile (line 76) | def test_sts_client_with_invalid_profile(self): FILE: aws_google_auth/tests/test_args_parser.py class TestPythonFailOnVersion (line 8) | class TestPythonFailOnVersion(unittest.TestCase): method test_no_arguments (line 10) | def test_no_arguments(self): method test_username (line 45) | def test_username(self): method test_nocache (line 62) | def test_nocache(self): method test_resolvealiases (line 79) | def test_resolvealiases(self): method test_ask_and_supply_role (line 96) | def test_ask_and_supply_role(self): method test_invalid_duration (line 101) | def test_invalid_duration(self): FILE: aws_google_auth/tests/test_backwards_compatibility.py class TestConfigurationPersistence (line 11) | class TestConfigurationPersistence(unittest.TestCase): method setUp (line 13) | def setUp(self): method tearDown (line 36) | def tearDown(self): method test_configuration_backwards_compatibility (line 42) | def test_configuration_backwards_compatibility(self): FILE: aws_google_auth/tests/test_config_parser.py class TestProfileProcessing (line 10) | class TestProfileProcessing(unittest.TestCase): method test_default (line 12) | def test_default(self): method test_cli_param_supplied (line 17) | def test_cli_param_supplied(self): method test_with_environment (line 23) | def test_with_environment(self): class TestUsernameProcessing (line 33) | class TestUsernameProcessing(unittest.TestCase): method test_default (line 35) | def test_default(self): method test_cli_param_supplied (line 40) | def test_cli_param_supplied(self): method test_with_environment (line 46) | def test_with_environment(self): class TestDurationProcessing (line 56) | class TestDurationProcessing(unittest.TestCase): method test_default (line 58) | def test_default(self): method test_cli_param_supplied (line 63) | def test_cli_param_supplied(self): method test_invalid_cli_param_supplied (line 68) | def test_invalid_cli_param_supplied(self): method test_with_environment (line 75) | def test_with_environment(self): class TestIDPProcessing (line 85) | class TestIDPProcessing(unittest.TestCase): method test_default (line 87) | def test_default(self): method test_cli_param_supplied (line 92) | def test_cli_param_supplied(self): method test_with_environment (line 98) | def test_with_environment(self): class TestSPProcessing (line 108) | class TestSPProcessing(unittest.TestCase): method test_default (line 110) | def test_default(self): method test_cli_param_supplied (line 115) | def test_cli_param_supplied(self): method test_with_environment (line 121) | def test_with_environment(self): class TestRegionProcessing (line 131) | class TestRegionProcessing(unittest.TestCase): method test_default (line 134) | def test_default(self): method test_cli_param_supplied (line 139) | def test_cli_param_supplied(self): method test_with_environment (line 145) | def test_with_environment(self): class TestRoleProcessing (line 155) | class TestRoleProcessing(unittest.TestCase): method test_default (line 157) | def test_default(self): method test_cli_param_supplied (line 162) | def test_cli_param_supplied(self): method test_with_environment (line 168) | def test_with_environment(self): class TestAskRoleProcessing (line 174) | class TestAskRoleProcessing(unittest.TestCase): method test_default (line 176) | def test_default(self): method test_cli_param_supplied (line 181) | def test_cli_param_supplied(self): method test_with_environment (line 188) | def test_with_environment(self): class TestU2FDisabledProcessing (line 194) | class TestU2FDisabledProcessing(unittest.TestCase): method test_default (line 196) | def test_default(self): method test_cli_param_supplied (line 201) | def test_cli_param_supplied(self): method test_with_environment (line 208) | def test_with_environment(self): class TestResolveAliasesProcessing (line 214) | class TestResolveAliasesProcessing(unittest.TestCase): method test_default (line 216) | def test_default(self): method test_cli_param_supplied (line 221) | def test_cli_param_supplied(self): method test_with_environment (line 228) | def test_with_environment(self): class TestBgResponseProcessing (line 234) | class TestBgResponseProcessing(unittest.TestCase): method test_default (line 236) | def test_default(self): method test_cli_param_supplied (line 241) | def test_cli_param_supplied(self): method test_with_environment (line 248) | def test_with_environment(self): class TestAccountProcessing (line 254) | class TestAccountProcessing(unittest.TestCase): method test_default (line 257) | def test_default(self): method test_cli_param_supplied (line 262) | def test_cli_param_supplied(self): method test_with_environment (line 268) | def test_with_environment(self): FILE: aws_google_auth/tests/test_configuration.py class TestConfigurationMethods (line 8) | class TestConfigurationMethods(unittest.TestCase): method test_config_profile (line 10) | def test_config_profile(self): method test_duration_invalid_values (line 17) | def test_duration_invalid_values(self): method test_duration_valid_values (line 61) | def test_duration_valid_values(self): method test_duration_defaults_to_max_duration (line 78) | def test_duration_defaults_to_max_duration(self): method test_ask_role_invalid_values (line 88) | def test_ask_role_invalid_values(self): method test_ask_role_valid_values (line 101) | def test_ask_role_valid_values(self): method test_ask_role_optional (line 121) | def test_ask_role_optional(self): method test_idp_id_invalid_values (line 131) | def test_idp_id_invalid_values(self): method test_idp_id_valid_values (line 142) | def test_idp_id_valid_values(self): method test_sp_id_invalid_values (line 155) | def test_sp_id_invalid_values(self): method test_username_valid_values (line 166) | def test_username_valid_values(self): method test_username_invalid_values (line 179) | def test_username_invalid_values(self): method test_password_valid_values (line 200) | def test_password_valid_values(self): method test_password_invalid_values (line 213) | def test_password_invalid_values(self): method test_sp_id_valid_values (line 234) | def test_sp_id_valid_values(self): method test_profile_defaults_to_sts (line 247) | def test_profile_defaults_to_sts(self): method test_profile_invalid_values (line 257) | def test_profile_invalid_values(self): method test_profile_valid_values (line 270) | def test_profile_valid_values(self): method test_profile_defaults (line 284) | def test_profile_defaults(self): method test_region_invalid_values (line 294) | def test_region_invalid_values(self): method test_region_valid_values (line 306) | def test_region_valid_values(self): method test_region_defaults_to_none (line 319) | def test_region_defaults_to_none(self): method test_role_arn_invalid_values (line 330) | def test_role_arn_invalid_values(self): method test_role_arn_is_optional (line 355) | def test_role_arn_is_optional(self): method test_role_arn_valid_values (line 365) | def test_role_arn_valid_values(self): method test_u2f_disabled_invalid_values (line 379) | def test_u2f_disabled_invalid_values(self): method test_u2f_disabled_valid_values (line 392) | def test_u2f_disabled_valid_values(self): method test_u2f_disabled_is_optional (line 412) | def test_u2f_disabled_is_optional(self): method test_unicode_password (line 422) | def test_unicode_password(self): FILE: aws_google_auth/tests/test_configuration_persistence.py class TestConfigurationPersistence (line 11) | class TestConfigurationPersistence(unittest.TestCase): method setUp (line 13) | def setUp(self): method tearDown (line 41) | def tearDown(self): method test_creating_new_profile (line 47) | def test_creating_new_profile(self): method test_password_not_written (line 61) | def test_password_not_written(self): method test_can_read_all_values (line 71) | def test_can_read_all_values(self): FILE: aws_google_auth/tests/test_google.py class TestGoogle (line 15) | class TestGoogle(unittest.TestCase): method read_local_file (line 16) | def read_local_file(self, filename): method test_extra_step (line 21) | def test_extra_step(self): method test_find_keyhandles (line 27) | def test_find_keyhandles(self): method test_parse_saml_without_login (line 51) | def test_parse_saml_without_login(self): method test_parse_saml_without_save (line 61) | def test_parse_saml_without_save(self): method test_parse_saml_with_save (line 84) | def test_parse_saml_with_save(self): FILE: aws_google_auth/tests/test_init.py class TestInit (line 9) | class TestInit(unittest.TestCase): method setUp (line 11) | def setUp(self): method test_main_method_has_no_parameters (line 15) | def test_main_method_has_no_parameters(self, mock_cli): method test_main_method_chaining (line 31) | def test_main_method_chaining(self, process_auth, resolve_config, exit... method test_process_auth_standard (line 99) | def test_process_auth_standard(self, mock_google, mock_amazon, mock_ut... method test_process_auth_print_creds (line 174) | def test_process_auth_print_creds(self, mock_google, mock_amazon, mock... method test_process_auth_specified_role (line 253) | def test_process_auth_specified_role(self, mock_google, mock_amazon, m... method test_process_auth_dont_resolve_alias (line 322) | def test_process_auth_dont_resolve_alias(self, mock_google, mock_amazo... method test_process_auth_with_profile (line 394) | def test_process_auth_with_profile(self, mock_google, mock_amazon, moc... method test_process_auth_with_saml_cache (line 468) | def test_process_auth_with_saml_cache(self, mock_google, mock_amazon, ... FILE: aws_google_auth/tests/test_python_version.py class TestPythonFailOnVersion (line 8) | class TestPythonFailOnVersion(unittest.TestCase): method test_python26 (line 10) | def test_python26(self): method test_python27 (line 21) | def test_python27(self): method test_python30 (line 31) | def test_python30(self): FILE: aws_google_auth/tests/test_util.py class TestUtilMethods (line 11) | class TestUtilMethods(unittest.TestCase): method test_coalesce_no_arguments (line 13) | def test_coalesce_no_arguments(self): method test_coalesce_one_argument (line 16) | def test_coalesce_one_argument(self): method test_coalesce_two_arguments (line 21) | def test_coalesce_two_arguments(self): method test_coalesce_many_arguments (line 28) | def test_coalesce_many_arguments(self): method test_unicode_to_string_if_needed_python_3 (line 33) | def test_unicode_to_string_if_needed_python_3(self): method test_unicode_to_string_if_needed_python_2 (line 39) | def test_unicode_to_string_if_needed_python_2(self): method test_unicode_to_string_if_needed (line 48) | def test_unicode_to_string_if_needed(self): method test_get_password_when_tty (line 55) | def test_get_password_when_tty(self, mock_stdin, mock_getpass): method test_get_password_when_not_tty (line 63) | def test_get_password_when_not_tty(self, mock_stdin): FILE: aws_google_auth/u2f.py function __appid_verifier__fetch_json (line 20) | def __appid_verifier__fetch_json(app_id): function __appid_verifier__valid_facets (line 41) | def __appid_verifier__valid_facets(app_id, facets): function u2f_auth (line 45) | def u2f_auth(challenges, facet): FILE: aws_google_auth/util.py class Util (line 14) | class Util: method get_input (line 17) | def get_input(prompt): method pick_a_role (line 21) | def pick_a_role(roles, aliases=None, account=None): method touch (line 68) | def touch(file_name, mode=0o600): method coalesce (line 80) | def coalesce(*args): method unicode_to_string_if_needed (line 87) | def unicode_to_string_if_needed(object): method get_password (line 94) | def get_password(prompt):