primus.auth.test_cognito module

primus.auth.test_cognito.config()
primus.auth.test_cognito.test_access_token_is_cached_in_memory_until_near_expiry(config)
primus.auth.test_cognito.test_access_token_is_refreshed_from_keychain(config)
primus.auth.test_cognito.test_access_token_is_refreshed_when_it_is_within_the_pre_expiry_window(config)
primus.auth.test_cognito.test_configuration_discovers_hosted_authorization_from_amplify_output(tmp_path, monkeypatch)
primus.auth.test_cognito.test_configuration_discovery_uses_the_hosted_domain_client_and_region(monkeypatch)
primus.auth.test_cognito.test_configuration_explains_when_amplify_has_no_hosted_authorization_output(tmp_path, monkeypatch)
primus.auth.test_cognito.test_configuration_rejects_any_unregistered_loopback_callback(monkeypatch)
primus.auth.test_cognito.test_confirmed_invalid_grant_removes_refresh_credential_and_requires_login(config)
primus.auth.test_cognito.test_environment_configuration_overrides_amplify_output(tmp_path, monkeypatch)
primus.auth.test_cognito.test_exchange_stores_only_refresh_token(config)
primus.auth.test_cognito.test_invalid_grant_raised_directly_by_post_removes_refresh_credential(config)
primus.auth.test_cognito.test_keyring_store_only_suppresses_the_keyring_not_found_error()
primus.auth.test_cognito.test_keyring_store_reports_a_real_delete_failure()
primus.auth.test_cognito.test_keyring_store_uses_the_os_keychain()
primus.auth.test_cognito.test_login_binds_loopback_listener_before_opening_browser(config)
primus.auth.test_cognito.test_login_keeps_listener_open_when_browser_does_not_launch(config, capsys)
primus.auth.test_cognito.test_login_url_uses_state_and_s256_pkce(config)
primus.auth.test_cognito.test_loopback_callback_does_not_wait_for_reverse_dns(config, monkeypatch)
primus.auth.test_cognito.test_loopback_callback_rejects_missing_or_mismatched_state(config)
primus.auth.test_cognito.test_loopback_callback_rejects_provider_errors(config)
primus.auth.test_cognito.test_loopback_callback_reports_an_occupied_registered_port(config)
primus.auth.test_cognito.test_missing_refresh_credential_requires_login_without_a_network_refresh(config)
primus.auth.test_cognito.test_repeated_transient_refresh_failures_stop_after_the_bounded_retry(config)
primus.auth.test_cognito.test_token_exchange_failure_returns_actionable_login_guidance(config)
primus.auth.test_cognito.test_transient_refresh_failure_is_retried_before_the_command_fails(config)
primus.auth.test_cognito.test_typed_refresh_failures_remain_compatible_with_authentication_callers()
primus.auth.test_cognito.test_unproven_refresh_rejections_preserve_credential(config, response, case)
primus.auth.test_cognito.test_whoami_uses_non_sensitive_identity_from_current_token(config)