planet-auth 2.3.1__tar.gz → 2.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {planet_auth-2.3.1 → planet_auth-2.3.2}/PKG-INFO +1 -1
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/changelog.md +4 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/examples/service/flask--oidc-multi-issuer--local-and-remote-validation.py +0 -1
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/oidc/api_clients/authorization_api_client.py +1 -1
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/oidc/api_clients/userinfo_api_client.py +0 -1
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/oidc/auth_client.py +0 -1
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/oidc/auth_clients/device_code_flow.py +0 -1
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/oidc/oidc_credential.py +1 -1
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/oidc/token_validator.py +5 -1
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/storage_utils.py +0 -1
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth.egg-info/PKG-INFO +1 -1
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth.egg-info/SOURCES.txt +2 -0
- planet_auth-2.3.2/src/planet_auth.egg-info/scm_file_list.json +276 -0
- planet_auth-2.3.2/src/planet_auth.egg-info/scm_version.json +8 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth_config_injection/builtins_provider.py +0 -1
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth_utils/commands/cli/jwt_cmd.py +2 -2
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth_utils/commands/cli/options.py +0 -1
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth_utils/plauth_user_config.py +0 -1
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth_utils/profile.py +0 -1
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/oidc/auth_clients/test_client_validator.py +0 -1
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/oidc/test_multi_validator.py +5 -11
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/test_auth_is_initialized.py +0 -1
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/test_storage_utils_file_backed_json_object.py +0 -1
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth_utils/unit/auth_utils/test_profile.py +0 -1
- planet_auth-2.3.2/version.txt +1 -0
- planet_auth-2.3.1/version.txt +0 -1
- {planet_auth-2.3.1 → planet_auth-2.3.2}/.github/actions/python-build-env-setup/action.yml +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/.github/actions/version-dot-buildnum-fetch/action.yml +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/.github/actions/version-dot-buildnum-generate/action.yml +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/.github/workflows/release-build.yml +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/.github/workflows/release-orchestrate.yml +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/.github/workflows/release-publish.yml +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/.github/workflows/test.yml +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/.gitignore +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/.readthedocs.yaml +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/CONTRIBUTING.md +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/DESIGN.md +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/DEVELOPMENT.md +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/LICENSE +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/MANIFEST.in +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/README.md +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/RELEASE.md +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/api-planet-auth-config-injection.md +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/api-planet-auth-utils.md +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/api-planet-auth.md +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/built-ins.md +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/cli-plauth.md +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/configuration.md +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/custom_theme/partials/header.html +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/design.md +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/examples/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/examples/auth-client/oauth/initialize-client-lib-in-memory.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/examples/auth-client/oauth/initialize-client-lib-on-disk-profile.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/examples/auth-client/oauth/make-oauth-authenticated-httpx-request.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/examples/auth-client/oauth/make-oauth-authenticated-requests-request.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/examples/auth-client/oauth/perform-oauth-device-login.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/examples/auth-client/oauth/perform-oauth-initial-login-2.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/examples/auth-client/oauth/perform-oauth-initial-login.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/examples/auth-client/planet-legacy/make-legacy-authenticated-requests-request.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/examples/auth-client/planet-legacy/perform-legacy-initial-login.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/examples/auth-client-config/oauth-auth-code-grant-confidential-client-pubkey.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/examples/auth-client-config/oauth-auth-code-grant-confidential-client-secret.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/examples/auth-client-config/oauth-auth-code-grant-public-client.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/examples/auth-client-config/oauth-client-credentials-grant-confidential-client-pubkey.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/examples/auth-client-config/oauth-client-credentials-grant-confidential-client-secret.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/examples/auth-client-config/oauth-client-validator.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/examples/auth-client-config/oauth-password-grant-confidential-client-pubkey.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/examples/auth-client-config/oauth-password-grant-confidential-client-secret.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/examples/auth-client-config/oauth-password-grant-public-client.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/examples/auth-client-config/planet-legacy.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/examples/cli/embed-plauth-click.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/examples/service/fastapi.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/examples/service/flask--connexion.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/examples/service/flask--oidc-multi-issuer--local-only-validation.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/examples/snippets/auth-client-context-from-saved-profile.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/examples/snippets/auth-client-context-oauth-direct.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/examples/snippets/auth-client-context-pl-legacy-direct.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/examples-cli.md +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/examples-client.md +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/examples-installation.md +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/examples-service.md +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/hooks/mkdocs_hooks.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/img/logo-color-dark-150.png +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/img/logo-color-dark.svg +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/img/logo-color-light-150.png +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/img/logo-color-light.svg +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/img/logo-color.svg +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/img/logo-white-150.png +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/img/logo-white.svg +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/img/logo.svg +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/index.md +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/library-overview.md +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/docs/readme.md +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/mkdocs.yml +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/noxfile.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/pyproject.toml +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/setup.cfg +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/setup.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/auth.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/auth_client.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/auth_exception.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/constants.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/credential.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/internal/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/logging/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/logging/auth_logger.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/logging/events.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/none/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/none/noop_auth.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/oidc/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/oidc/api_clients/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/oidc/api_clients/api_client.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/oidc/api_clients/device_authorization_api_client.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/oidc/api_clients/discovery_api_client.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/oidc/api_clients/introspect_api_client.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/oidc/api_clients/jwks_api_client.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/oidc/api_clients/oidc_request_auth.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/oidc/api_clients/revocation_api_client.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/oidc/api_clients/token_api_client.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/oidc/auth_client_default_authenticators.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/oidc/auth_client_with_client_pubkey.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/oidc/auth_client_with_client_secret.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/oidc/auth_clients/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/oidc/auth_clients/auth_code_flow.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/oidc/auth_clients/client_credentials_flow.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/oidc/auth_clients/client_validator.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/oidc/auth_clients/resource_owner_flow.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/oidc/multi_validator.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/oidc/request_authenticator.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/oidc/resources/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/oidc/resources/callback_acknowledgement.html +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/oidc/util.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/planet_legacy/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/planet_legacy/auth_client.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/planet_legacy/legacy_api_key.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/planet_legacy/request_authenticator.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/py.typed +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/request_authenticator.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/static_api_key/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/static_api_key/auth_client.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/static_api_key/request_authenticator.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/static_api_key/static_api_key.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/util.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth.egg-info/dependency_links.txt +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth.egg-info/entry_points.txt +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth.egg-info/requires.txt +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth.egg-info/top_level.txt +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth_config_injection/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth_config_injection/py.typed +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth_utils/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth_utils/builtins.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth_utils/commands/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth_utils/commands/cli/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth_utils/commands/cli/main.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth_utils/commands/cli/oauth_cmd.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth_utils/commands/cli/planet_legacy_auth_cmd.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth_utils/commands/cli/profile_cmd.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth_utils/commands/cli/prompts.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth_utils/commands/cli/util.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth_utils/constants.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth_utils/internal/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth_utils/plauth_factory.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth_utils/py.typed +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/auth_client_configs/live_service/oauth_client_credentials_client_secret.sops.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/auth_client_configs/live_service/oauth_client_credentials_pubkey_literal.sops.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/auth_client_configs/live_service/oauth_pkce_auth_code.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/auth_client_configs/live_service/oauth_pkce_auth_code_client_secret.sops.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/auth_client_configs/live_service/oauth_pkce_auth_code_pubkey.sops.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/auth_client_configs/live_service/oauth_resource_owner.sops.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/auth_client_configs/live_service/oauth_resource_owner_client_pubkey.sops.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/auth_client_configs/live_service/oauth_resource_owner_client_secret.sops.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/auth_client_configs/utest/auth_code.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/auth_client_configs/utest/auth_code_pubkey.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/auth_client_configs/utest/auth_code_secret.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/auth_client_configs/utest/client_credentials_client_secret.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/auth_client_configs/utest/client_credentials_pubkey_file.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/auth_client_configs/utest/client_credentials_pubkey_literal.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/auth_client_configs/utest/client_validator.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/auth_client_configs/utest/device_auth.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/auth_client_configs/utest/device_auth_pubkey.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/auth_client_configs/utest/device_auth_secret.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/auth_client_configs/utest/invalid_client_config.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/auth_client_configs/utest/none.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/auth_client_configs/utest/planet_legacy.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/auth_client_configs/utest/planet_legacy_with_apikey.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/auth_client_configs/utest/resource_owner.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/auth_client_configs/utest/resource_owner_pubkey.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/auth_client_configs/utest/resource_owner_secret.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/auth_client_configs/utest/static_api_key.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/auth_client_configs/utest/static_api_key_with_key.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/keys/README.txt +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/keys/base_test_credential.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/keys/invalid_test_credential.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/keys/keypair1_priv.test_pem +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/keys/keypair1_priv_nopassword.test_pem +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/keys/keypair1_pub.test_pem +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/keys/keypair1_pub_jwk.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/keys/keypair2_priv.test_pem +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/keys/keypair2_priv_nopassword.test_pem +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/keys/keypair2_pub.test_pem +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/keys/keypair2_pub_jwk.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/keys/keypair3_priv_nopassword.test_pem +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/keys/keypair3_pub.test_pem +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/keys/keypair3_pub_jwk.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/keys/keypair4_priv_jwk.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/keys/keypair4_priv_nopassword.test_pem +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/keys/keypair4_pub.test_pem +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/keys/keypair4_pub_jwk.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/keys/oidc_test_credential_jwt_tokens_no_lifespan_augmented.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/keys/oidc_test_credential_jwt_tokens_no_lifespan_non_augmented.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/keys/oidc_test_credential_jwt_tokens_with_lifespan_augmented.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/keys/oidc_test_credential_jwt_tokens_with_lifespan_non_augmented.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/keys/oidc_test_credential_opaque_tokens_no_lifespan_augmented.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/keys/oidc_test_credential_opaque_tokens_no_lifespan_non_augmented.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/keys/oidc_test_credential_opaque_tokens_with_lifespan_augmented.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/keys/oidc_test_credential_opaque_tokens_with_lifespan_non_augmented.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/keys/planet_legacy_test_credential.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/keys/static_api_key_test_credential.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/keys/static_api_key_test_credential_2.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/data/resources/authorization_callback_acknowledgement.html +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/live_service/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/live_service/auth/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/live_service/auth/auth_clients/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/live_service/auth/auth_clients/oidc/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/live_service/auth/auth_clients/oidc/test_all_oidc_clients_live.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/none/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/none/test_noop_auth.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/oidc/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/oidc/api_clients/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/oidc/api_clients/test_api_client_base.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/oidc/api_clients/test_authorization_api_client.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/oidc/api_clients/test_device_authorization_api_client.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/oidc/api_clients/test_discovery_api_client.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/oidc/api_clients/test_introspect_api_client.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/oidc/api_clients/test_jwks_api_client.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/oidc/api_clients/test_revocation_api_client.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/oidc/api_clients/test_token_api_client.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/oidc/api_clients/test_userinfo_api_client.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/oidc/auth_clients/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/oidc/auth_clients/test_auth_code.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/oidc/auth_clients/test_client_credentials.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/oidc/auth_clients/test_device_code.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/oidc/auth_clients/test_resource_owner.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/oidc/test_oidc_auth_client_baseclass.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/oidc/test_oidc_request_authenticator.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/oidc/test_oidc_token_credential.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/oidc/test_token_validator.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/planet_legacy/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/planet_legacy/test_legacy_api_auth_client.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/planet_legacy/test_legacy_api_key_credential.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/planet_legacy/test_planet_legacy_request_authenticator.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/static_api_key/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/static_api_key/test_static_api_key_auth_client.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/static_api_key/test_static_api_key_credential.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/static_api_key/test_static_api_key_request_authenticator.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/auth_clients/test_auth_client_baseclass.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/test_auth.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/test_auth_exception.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/test_auth_logger.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/test_auth_utils.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/test_request_authenticator.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/test_resources.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/util.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/util.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth_utils/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth_utils/data/auth_client_configs/utest/invalid_client_config.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth_utils/data/auth_client_configs/utest/static_api_key.json +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth_utils/unit/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth_utils/unit/auth_utils/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth_utils/unit/auth_utils/builtins_test_impl.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth_utils/unit/auth_utils/test_builtins.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth_utils/unit/auth_utils/test_plauth_factory.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth_utils/unit/commands/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth_utils/unit/commands/plauth_cli/__init__.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth_utils/unit/commands/plauth_cli/test_cli_cmds.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth_utils/unit/commands/plauth_cli/test_utils.py +0 -0
- {planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth_utils/util.py +0 -0
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.3.2 - 2026-07-08
|
|
4
|
+
- Increase default timeout for auth code flow callback listener.
|
|
5
|
+
- Test updates and formatting related to upstream project changes.
|
|
6
|
+
|
|
3
7
|
## 2.3.1 - 2025-12-10
|
|
4
8
|
- Fix a bug where sops protected files would be rewritten without preserving
|
|
5
9
|
their sops protection.
|
|
@@ -7,7 +7,6 @@ import re
|
|
|
7
7
|
from flask import Flask, make_response, request
|
|
8
8
|
from functools import wraps
|
|
9
9
|
|
|
10
|
-
|
|
11
10
|
#############################################################################
|
|
12
11
|
# Logging Configuration
|
|
13
12
|
#############################################################################
|
{planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth/oidc/api_clients/authorization_api_client.py
RENAMED
|
@@ -29,7 +29,7 @@ from planet_auth.oidc.api_clients.api_client import OidcApiClientException
|
|
|
29
29
|
|
|
30
30
|
auth_logger = planet_auth.logging.auth_logger.getAuthLogger()
|
|
31
31
|
DEFAULT_REDIRECT_LISTEN_PORT = 80
|
|
32
|
-
AUTH_TIMEOUT =
|
|
32
|
+
AUTH_TIMEOUT = 300
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
class AuthorizationApiException(OidcApiClientException):
|
|
@@ -30,7 +30,6 @@ from planet_auth.oidc.api_clients.token_api_client import TokenApiClient
|
|
|
30
30
|
from planet_auth.oidc.oidc_credential import FileBackedOidcCredential
|
|
31
31
|
import planet_auth.logging.auth_logger
|
|
32
32
|
|
|
33
|
-
|
|
34
33
|
auth_logger = planet_auth.logging.auth_logger.getAuthLogger()
|
|
35
34
|
|
|
36
35
|
|
|
@@ -63,7 +63,7 @@ class FileBackedOidcCredential(Credential):
|
|
|
63
63
|
try:
|
|
64
64
|
access_token_str = self.access_token()
|
|
65
65
|
if access_token_str:
|
|
66
|
-
|
|
66
|
+
_, jwt_hazmat_body, _ = TokenValidator.hazmat_unverified_decode(access_token_str)
|
|
67
67
|
else:
|
|
68
68
|
jwt_hazmat_body = None
|
|
69
69
|
except InvalidArgumentException:
|
|
@@ -226,7 +226,11 @@ class TokenValidator:
|
|
|
226
226
|
if scopes_anyof:
|
|
227
227
|
if validated_claims.get(_SCOPE_CLAIM_RFC8693):
|
|
228
228
|
# RFC 8693 places scopes in a space delimited string.
|
|
229
|
-
|
|
229
|
+
_claim = validated_claims.get(_SCOPE_CLAIM_RFC8693)
|
|
230
|
+
if isinstance(_claim, str):
|
|
231
|
+
token_scopes = validated_claims.get(_SCOPE_CLAIM_RFC8693).split() # type: ignore
|
|
232
|
+
else:
|
|
233
|
+
token_scopes = []
|
|
230
234
|
elif validated_claims.get(_SCOPE_CLAIM_OKTA):
|
|
231
235
|
# No split. Okta places a list of strings in the token.
|
|
232
236
|
token_scopes = validated_claims.get(_SCOPE_CLAIM_OKTA)
|
|
@@ -25,7 +25,6 @@ from typing import Optional, Dict, Any
|
|
|
25
25
|
from planet_auth.auth_exception import AuthException
|
|
26
26
|
from planet_auth.util import auth_logger
|
|
27
27
|
|
|
28
|
-
|
|
29
28
|
ObjectStorageProvider_KeyType = pathlib.Path
|
|
30
29
|
"""
|
|
31
30
|
Key type for object storage. Paths are currently used in part because of
|
|
@@ -87,6 +87,8 @@ src/planet_auth.egg-info/SOURCES.txt
|
|
|
87
87
|
src/planet_auth.egg-info/dependency_links.txt
|
|
88
88
|
src/planet_auth.egg-info/entry_points.txt
|
|
89
89
|
src/planet_auth.egg-info/requires.txt
|
|
90
|
+
src/planet_auth.egg-info/scm_file_list.json
|
|
91
|
+
src/planet_auth.egg-info/scm_version.json
|
|
90
92
|
src/planet_auth.egg-info/top_level.txt
|
|
91
93
|
src/planet_auth/internal/__init__.py
|
|
92
94
|
src/planet_auth/logging/__init__.py
|
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
{
|
|
2
|
+
"files": [
|
|
3
|
+
"DESIGN.md",
|
|
4
|
+
"version.txt",
|
|
5
|
+
"README.md",
|
|
6
|
+
"RELEASE.md",
|
|
7
|
+
"LICENSE",
|
|
8
|
+
"setup.py",
|
|
9
|
+
"pyproject.toml",
|
|
10
|
+
"mkdocs.yml",
|
|
11
|
+
"CONTRIBUTING.md",
|
|
12
|
+
"MANIFEST.in",
|
|
13
|
+
".gitignore",
|
|
14
|
+
"noxfile.py",
|
|
15
|
+
".readthedocs.yaml",
|
|
16
|
+
"DEVELOPMENT.md",
|
|
17
|
+
"docs/readme.md",
|
|
18
|
+
"docs/library-overview.md",
|
|
19
|
+
"docs/configuration.md",
|
|
20
|
+
"docs/examples-installation.md",
|
|
21
|
+
"docs/built-ins.md",
|
|
22
|
+
"docs/design.md",
|
|
23
|
+
"docs/api-planet-auth.md",
|
|
24
|
+
"docs/examples-client.md",
|
|
25
|
+
"docs/changelog.md",
|
|
26
|
+
"docs/api-planet-auth-utils.md",
|
|
27
|
+
"docs/cli-plauth.md",
|
|
28
|
+
"docs/examples-cli.md",
|
|
29
|
+
"docs/api-planet-auth-config-injection.md",
|
|
30
|
+
"docs/index.md",
|
|
31
|
+
"docs/examples-service.md",
|
|
32
|
+
"docs/custom_theme/partials/header.html",
|
|
33
|
+
"docs/img/logo-white-150.png",
|
|
34
|
+
"docs/img/logo-color-light.svg",
|
|
35
|
+
"docs/img/logo-color.svg",
|
|
36
|
+
"docs/img/logo-white.svg",
|
|
37
|
+
"docs/img/logo-color-dark-150.png",
|
|
38
|
+
"docs/img/logo-color-dark.svg",
|
|
39
|
+
"docs/img/logo.svg",
|
|
40
|
+
"docs/img/logo-color-light-150.png",
|
|
41
|
+
"docs/hooks/mkdocs_hooks.py",
|
|
42
|
+
"docs/examples/__init__.py",
|
|
43
|
+
"docs/examples/service/flask--oidc-multi-issuer--local-only-validation.py",
|
|
44
|
+
"docs/examples/service/flask--connexion.py",
|
|
45
|
+
"docs/examples/service/fastapi.py",
|
|
46
|
+
"docs/examples/service/flask--oidc-multi-issuer--local-and-remote-validation.py",
|
|
47
|
+
"docs/examples/auth-client/planet-legacy/make-legacy-authenticated-requests-request.py",
|
|
48
|
+
"docs/examples/auth-client/planet-legacy/perform-legacy-initial-login.py",
|
|
49
|
+
"docs/examples/auth-client/oauth/perform-oauth-initial-login.py",
|
|
50
|
+
"docs/examples/auth-client/oauth/make-oauth-authenticated-requests-request.py",
|
|
51
|
+
"docs/examples/auth-client/oauth/initialize-client-lib-in-memory.py",
|
|
52
|
+
"docs/examples/auth-client/oauth/initialize-client-lib-on-disk-profile.py",
|
|
53
|
+
"docs/examples/auth-client/oauth/make-oauth-authenticated-httpx-request.py",
|
|
54
|
+
"docs/examples/auth-client/oauth/perform-oauth-initial-login-2.py",
|
|
55
|
+
"docs/examples/auth-client/oauth/perform-oauth-device-login.py",
|
|
56
|
+
"docs/examples/snippets/auth-client-context-pl-legacy-direct.py",
|
|
57
|
+
"docs/examples/snippets/auth-client-context-oauth-direct.py",
|
|
58
|
+
"docs/examples/snippets/auth-client-context-from-saved-profile.py",
|
|
59
|
+
"docs/examples/auth-client-config/oauth-password-grant-confidential-client-secret.json",
|
|
60
|
+
"docs/examples/auth-client-config/oauth-client-credentials-grant-confidential-client-pubkey.json",
|
|
61
|
+
"docs/examples/auth-client-config/oauth-client-validator.json",
|
|
62
|
+
"docs/examples/auth-client-config/oauth-auth-code-grant-public-client.json",
|
|
63
|
+
"docs/examples/auth-client-config/oauth-client-credentials-grant-confidential-client-secret.json",
|
|
64
|
+
"docs/examples/auth-client-config/planet-legacy.json",
|
|
65
|
+
"docs/examples/auth-client-config/oauth-password-grant-public-client.json",
|
|
66
|
+
"docs/examples/auth-client-config/oauth-password-grant-confidential-client-pubkey.json",
|
|
67
|
+
"docs/examples/auth-client-config/oauth-auth-code-grant-confidential-client-secret.json",
|
|
68
|
+
"docs/examples/auth-client-config/oauth-auth-code-grant-confidential-client-pubkey.json",
|
|
69
|
+
"docs/examples/cli/embed-plauth-click.py",
|
|
70
|
+
"src/planet_auth_utils/plauth_user_config.py",
|
|
71
|
+
"src/planet_auth_utils/py.typed",
|
|
72
|
+
"src/planet_auth_utils/__init__.py",
|
|
73
|
+
"src/planet_auth_utils/profile.py",
|
|
74
|
+
"src/planet_auth_utils/plauth_factory.py",
|
|
75
|
+
"src/planet_auth_utils/constants.py",
|
|
76
|
+
"src/planet_auth_utils/builtins.py",
|
|
77
|
+
"src/planet_auth_utils/commands/__init__.py",
|
|
78
|
+
"src/planet_auth_utils/commands/cli/profile_cmd.py",
|
|
79
|
+
"src/planet_auth_utils/commands/cli/jwt_cmd.py",
|
|
80
|
+
"src/planet_auth_utils/commands/cli/prompts.py",
|
|
81
|
+
"src/planet_auth_utils/commands/cli/__init__.py",
|
|
82
|
+
"src/planet_auth_utils/commands/cli/options.py",
|
|
83
|
+
"src/planet_auth_utils/commands/cli/main.py",
|
|
84
|
+
"src/planet_auth_utils/commands/cli/planet_legacy_auth_cmd.py",
|
|
85
|
+
"src/planet_auth_utils/commands/cli/oauth_cmd.py",
|
|
86
|
+
"src/planet_auth_utils/commands/cli/util.py",
|
|
87
|
+
"src/planet_auth_utils/internal/__init__.py",
|
|
88
|
+
"src/planet_auth_config_injection/py.typed",
|
|
89
|
+
"src/planet_auth_config_injection/__init__.py",
|
|
90
|
+
"src/planet_auth_config_injection/builtins_provider.py",
|
|
91
|
+
"src/planet_auth/py.typed",
|
|
92
|
+
"src/planet_auth/__init__.py",
|
|
93
|
+
"src/planet_auth/request_authenticator.py",
|
|
94
|
+
"src/planet_auth/storage_utils.py",
|
|
95
|
+
"src/planet_auth/auth_exception.py",
|
|
96
|
+
"src/planet_auth/auth_client.py",
|
|
97
|
+
"src/planet_auth/auth.py",
|
|
98
|
+
"src/planet_auth/constants.py",
|
|
99
|
+
"src/planet_auth/util.py",
|
|
100
|
+
"src/planet_auth/credential.py",
|
|
101
|
+
"src/planet_auth/logging/__init__.py",
|
|
102
|
+
"src/planet_auth/logging/events.py",
|
|
103
|
+
"src/planet_auth/logging/auth_logger.py",
|
|
104
|
+
"src/planet_auth/planet_legacy/__init__.py",
|
|
105
|
+
"src/planet_auth/planet_legacy/request_authenticator.py",
|
|
106
|
+
"src/planet_auth/planet_legacy/auth_client.py",
|
|
107
|
+
"src/planet_auth/planet_legacy/legacy_api_key.py",
|
|
108
|
+
"src/planet_auth/static_api_key/static_api_key.py",
|
|
109
|
+
"src/planet_auth/static_api_key/__init__.py",
|
|
110
|
+
"src/planet_auth/static_api_key/request_authenticator.py",
|
|
111
|
+
"src/planet_auth/static_api_key/auth_client.py",
|
|
112
|
+
"src/planet_auth/internal/__init__.py",
|
|
113
|
+
"src/planet_auth/none/__init__.py",
|
|
114
|
+
"src/planet_auth/none/noop_auth.py",
|
|
115
|
+
"src/planet_auth/oidc/auth_client_default_authenticators.py",
|
|
116
|
+
"src/planet_auth/oidc/__init__.py",
|
|
117
|
+
"src/planet_auth/oidc/auth_client_with_client_pubkey.py",
|
|
118
|
+
"src/planet_auth/oidc/request_authenticator.py",
|
|
119
|
+
"src/planet_auth/oidc/auth_client.py",
|
|
120
|
+
"src/planet_auth/oidc/token_validator.py",
|
|
121
|
+
"src/planet_auth/oidc/auth_client_with_client_secret.py",
|
|
122
|
+
"src/planet_auth/oidc/multi_validator.py",
|
|
123
|
+
"src/planet_auth/oidc/util.py",
|
|
124
|
+
"src/planet_auth/oidc/oidc_credential.py",
|
|
125
|
+
"src/planet_auth/oidc/resources/__init__.py",
|
|
126
|
+
"src/planet_auth/oidc/resources/callback_acknowledgement.html",
|
|
127
|
+
"src/planet_auth/oidc/api_clients/api_client.py",
|
|
128
|
+
"src/planet_auth/oidc/api_clients/jwks_api_client.py",
|
|
129
|
+
"src/planet_auth/oidc/api_clients/__init__.py",
|
|
130
|
+
"src/planet_auth/oidc/api_clients/discovery_api_client.py",
|
|
131
|
+
"src/planet_auth/oidc/api_clients/device_authorization_api_client.py",
|
|
132
|
+
"src/planet_auth/oidc/api_clients/oidc_request_auth.py",
|
|
133
|
+
"src/planet_auth/oidc/api_clients/revocation_api_client.py",
|
|
134
|
+
"src/planet_auth/oidc/api_clients/token_api_client.py",
|
|
135
|
+
"src/planet_auth/oidc/api_clients/authorization_api_client.py",
|
|
136
|
+
"src/planet_auth/oidc/api_clients/userinfo_api_client.py",
|
|
137
|
+
"src/planet_auth/oidc/api_clients/introspect_api_client.py",
|
|
138
|
+
"src/planet_auth/oidc/auth_clients/__init__.py",
|
|
139
|
+
"src/planet_auth/oidc/auth_clients/device_code_flow.py",
|
|
140
|
+
"src/planet_auth/oidc/auth_clients/client_credentials_flow.py",
|
|
141
|
+
"src/planet_auth/oidc/auth_clients/client_validator.py",
|
|
142
|
+
"src/planet_auth/oidc/auth_clients/resource_owner_flow.py",
|
|
143
|
+
"src/planet_auth/oidc/auth_clients/auth_code_flow.py",
|
|
144
|
+
"tests/__init__.py",
|
|
145
|
+
"tests/test_planet_auth_utils/__init__.py",
|
|
146
|
+
"tests/test_planet_auth_utils/util.py",
|
|
147
|
+
"tests/test_planet_auth_utils/data/auth_client_configs/utest/invalid_client_config.json",
|
|
148
|
+
"tests/test_planet_auth_utils/data/auth_client_configs/utest/static_api_key.json",
|
|
149
|
+
"tests/test_planet_auth_utils/unit/__init__.py",
|
|
150
|
+
"tests/test_planet_auth_utils/unit/commands/__init__.py",
|
|
151
|
+
"tests/test_planet_auth_utils/unit/commands/plauth_cli/__init__.py",
|
|
152
|
+
"tests/test_planet_auth_utils/unit/commands/plauth_cli/test_cli_cmds.py",
|
|
153
|
+
"tests/test_planet_auth_utils/unit/commands/plauth_cli/test_utils.py",
|
|
154
|
+
"tests/test_planet_auth_utils/unit/auth_utils/__init__.py",
|
|
155
|
+
"tests/test_planet_auth_utils/unit/auth_utils/test_builtins.py",
|
|
156
|
+
"tests/test_planet_auth_utils/unit/auth_utils/builtins_test_impl.py",
|
|
157
|
+
"tests/test_planet_auth_utils/unit/auth_utils/test_plauth_factory.py",
|
|
158
|
+
"tests/test_planet_auth_utils/unit/auth_utils/test_profile.py",
|
|
159
|
+
"tests/test_planet_auth/__init__.py",
|
|
160
|
+
"tests/test_planet_auth/util.py",
|
|
161
|
+
"tests/test_planet_auth/live_service/__init__.py",
|
|
162
|
+
"tests/test_planet_auth/live_service/auth/__init__.py",
|
|
163
|
+
"tests/test_planet_auth/live_service/auth/auth_clients/__init__.py",
|
|
164
|
+
"tests/test_planet_auth/live_service/auth/auth_clients/oidc/__init__.py",
|
|
165
|
+
"tests/test_planet_auth/live_service/auth/auth_clients/oidc/test_all_oidc_clients_live.py",
|
|
166
|
+
"tests/test_planet_auth/data/resources/authorization_callback_acknowledgement.html",
|
|
167
|
+
"tests/test_planet_auth/data/auth_client_configs/live_service/oauth_resource_owner_client_pubkey.sops.json",
|
|
168
|
+
"tests/test_planet_auth/data/auth_client_configs/live_service/oauth_pkce_auth_code_client_secret.sops.json",
|
|
169
|
+
"tests/test_planet_auth/data/auth_client_configs/live_service/oauth_resource_owner.sops.json",
|
|
170
|
+
"tests/test_planet_auth/data/auth_client_configs/live_service/oauth_client_credentials_pubkey_literal.sops.json",
|
|
171
|
+
"tests/test_planet_auth/data/auth_client_configs/live_service/oauth_client_credentials_client_secret.sops.json",
|
|
172
|
+
"tests/test_planet_auth/data/auth_client_configs/live_service/oauth_resource_owner_client_secret.sops.json",
|
|
173
|
+
"tests/test_planet_auth/data/auth_client_configs/live_service/oauth_pkce_auth_code.json",
|
|
174
|
+
"tests/test_planet_auth/data/auth_client_configs/live_service/oauth_pkce_auth_code_pubkey.sops.json",
|
|
175
|
+
"tests/test_planet_auth/data/auth_client_configs/utest/invalid_client_config.json",
|
|
176
|
+
"tests/test_planet_auth/data/auth_client_configs/utest/client_credentials_client_secret.json",
|
|
177
|
+
"tests/test_planet_auth/data/auth_client_configs/utest/resource_owner_pubkey.json",
|
|
178
|
+
"tests/test_planet_auth/data/auth_client_configs/utest/client_credentials_pubkey_literal.json",
|
|
179
|
+
"tests/test_planet_auth/data/auth_client_configs/utest/device_auth_secret.json",
|
|
180
|
+
"tests/test_planet_auth/data/auth_client_configs/utest/none.json",
|
|
181
|
+
"tests/test_planet_auth/data/auth_client_configs/utest/auth_code_pubkey.json",
|
|
182
|
+
"tests/test_planet_auth/data/auth_client_configs/utest/static_api_key.json",
|
|
183
|
+
"tests/test_planet_auth/data/auth_client_configs/utest/planet_legacy.json",
|
|
184
|
+
"tests/test_planet_auth/data/auth_client_configs/utest/auth_code.json",
|
|
185
|
+
"tests/test_planet_auth/data/auth_client_configs/utest/device_auth_pubkey.json",
|
|
186
|
+
"tests/test_planet_auth/data/auth_client_configs/utest/client_validator.json",
|
|
187
|
+
"tests/test_planet_auth/data/auth_client_configs/utest/client_credentials_pubkey_file.json",
|
|
188
|
+
"tests/test_planet_auth/data/auth_client_configs/utest/device_auth.json",
|
|
189
|
+
"tests/test_planet_auth/data/auth_client_configs/utest/resource_owner_secret.json",
|
|
190
|
+
"tests/test_planet_auth/data/auth_client_configs/utest/auth_code_secret.json",
|
|
191
|
+
"tests/test_planet_auth/data/auth_client_configs/utest/planet_legacy_with_apikey.json",
|
|
192
|
+
"tests/test_planet_auth/data/auth_client_configs/utest/resource_owner.json",
|
|
193
|
+
"tests/test_planet_auth/data/auth_client_configs/utest/static_api_key_with_key.json",
|
|
194
|
+
"tests/test_planet_auth/data/keys/keypair1_pub_jwk.json",
|
|
195
|
+
"tests/test_planet_auth/data/keys/keypair2_priv_nopassword.test_pem",
|
|
196
|
+
"tests/test_planet_auth/data/keys/oidc_test_credential_opaque_tokens_with_lifespan_augmented.json",
|
|
197
|
+
"tests/test_planet_auth/data/keys/oidc_test_credential_jwt_tokens_no_lifespan_augmented.json",
|
|
198
|
+
"tests/test_planet_auth/data/keys/keypair3_priv_nopassword.test_pem",
|
|
199
|
+
"tests/test_planet_auth/data/keys/keypair2_pub_jwk.json",
|
|
200
|
+
"tests/test_planet_auth/data/keys/keypair3_pub.test_pem",
|
|
201
|
+
"tests/test_planet_auth/data/keys/keypair4_pub.test_pem",
|
|
202
|
+
"tests/test_planet_auth/data/keys/oidc_test_credential_opaque_tokens_no_lifespan_non_augmented.json",
|
|
203
|
+
"tests/test_planet_auth/data/keys/oidc_test_credential_jwt_tokens_no_lifespan_non_augmented.json",
|
|
204
|
+
"tests/test_planet_auth/data/keys/planet_legacy_test_credential.json",
|
|
205
|
+
"tests/test_planet_auth/data/keys/keypair4_priv_nopassword.test_pem",
|
|
206
|
+
"tests/test_planet_auth/data/keys/oidc_test_credential_opaque_tokens_with_lifespan_non_augmented.json",
|
|
207
|
+
"tests/test_planet_auth/data/keys/README.txt",
|
|
208
|
+
"tests/test_planet_auth/data/keys/keypair4_priv_jwk.json",
|
|
209
|
+
"tests/test_planet_auth/data/keys/oidc_test_credential_opaque_tokens_no_lifespan_augmented.json",
|
|
210
|
+
"tests/test_planet_auth/data/keys/base_test_credential.json",
|
|
211
|
+
"tests/test_planet_auth/data/keys/keypair1_pub.test_pem",
|
|
212
|
+
"tests/test_planet_auth/data/keys/oidc_test_credential_jwt_tokens_with_lifespan_augmented.json",
|
|
213
|
+
"tests/test_planet_auth/data/keys/invalid_test_credential.json",
|
|
214
|
+
"tests/test_planet_auth/data/keys/keypair2_priv.test_pem",
|
|
215
|
+
"tests/test_planet_auth/data/keys/keypair1_priv.test_pem",
|
|
216
|
+
"tests/test_planet_auth/data/keys/static_api_key_test_credential_2.json",
|
|
217
|
+
"tests/test_planet_auth/data/keys/keypair4_pub_jwk.json",
|
|
218
|
+
"tests/test_planet_auth/data/keys/keypair2_pub.test_pem",
|
|
219
|
+
"tests/test_planet_auth/data/keys/static_api_key_test_credential.json",
|
|
220
|
+
"tests/test_planet_auth/data/keys/oidc_test_credential_jwt_tokens_with_lifespan_non_augmented.json",
|
|
221
|
+
"tests/test_planet_auth/data/keys/keypair3_pub_jwk.json",
|
|
222
|
+
"tests/test_planet_auth/data/keys/keypair1_priv_nopassword.test_pem",
|
|
223
|
+
"tests/test_planet_auth/unit/__init__.py",
|
|
224
|
+
"tests/test_planet_auth/unit/auth/test_auth_is_initialized.py",
|
|
225
|
+
"tests/test_planet_auth/unit/auth/test_auth_utils.py",
|
|
226
|
+
"tests/test_planet_auth/unit/auth/test_resources.py",
|
|
227
|
+
"tests/test_planet_auth/unit/auth/test_request_authenticator.py",
|
|
228
|
+
"tests/test_planet_auth/unit/auth/__init__.py",
|
|
229
|
+
"tests/test_planet_auth/unit/auth/test_auth.py",
|
|
230
|
+
"tests/test_planet_auth/unit/auth/test_storage_utils_file_backed_json_object.py",
|
|
231
|
+
"tests/test_planet_auth/unit/auth/test_auth_exception.py",
|
|
232
|
+
"tests/test_planet_auth/unit/auth/test_auth_logger.py",
|
|
233
|
+
"tests/test_planet_auth/unit/auth/util.py",
|
|
234
|
+
"tests/test_planet_auth/unit/auth/auth_clients/__init__.py",
|
|
235
|
+
"tests/test_planet_auth/unit/auth/auth_clients/test_auth_client_baseclass.py",
|
|
236
|
+
"tests/test_planet_auth/unit/auth/auth_clients/planet_legacy/__init__.py",
|
|
237
|
+
"tests/test_planet_auth/unit/auth/auth_clients/planet_legacy/test_legacy_api_key_credential.py",
|
|
238
|
+
"tests/test_planet_auth/unit/auth/auth_clients/planet_legacy/test_planet_legacy_request_authenticator.py",
|
|
239
|
+
"tests/test_planet_auth/unit/auth/auth_clients/planet_legacy/test_legacy_api_auth_client.py",
|
|
240
|
+
"tests/test_planet_auth/unit/auth/auth_clients/static_api_key/test_static_api_key_credential.py",
|
|
241
|
+
"tests/test_planet_auth/unit/auth/auth_clients/static_api_key/__init__.py",
|
|
242
|
+
"tests/test_planet_auth/unit/auth/auth_clients/static_api_key/test_static_api_key_auth_client.py",
|
|
243
|
+
"tests/test_planet_auth/unit/auth/auth_clients/static_api_key/test_static_api_key_request_authenticator.py",
|
|
244
|
+
"tests/test_planet_auth/unit/auth/auth_clients/none/__init__.py",
|
|
245
|
+
"tests/test_planet_auth/unit/auth/auth_clients/none/test_noop_auth.py",
|
|
246
|
+
"tests/test_planet_auth/unit/auth/auth_clients/oidc/test_multi_validator.py",
|
|
247
|
+
"tests/test_planet_auth/unit/auth/auth_clients/oidc/test_oidc_token_credential.py",
|
|
248
|
+
"tests/test_planet_auth/unit/auth/auth_clients/oidc/__init__.py",
|
|
249
|
+
"tests/test_planet_auth/unit/auth/auth_clients/oidc/test_oidc_request_authenticator.py",
|
|
250
|
+
"tests/test_planet_auth/unit/auth/auth_clients/oidc/test_token_validator.py",
|
|
251
|
+
"tests/test_planet_auth/unit/auth/auth_clients/oidc/test_oidc_auth_client_baseclass.py",
|
|
252
|
+
"tests/test_planet_auth/unit/auth/auth_clients/oidc/api_clients/test_revocation_api_client.py",
|
|
253
|
+
"tests/test_planet_auth/unit/auth/auth_clients/oidc/api_clients/__init__.py",
|
|
254
|
+
"tests/test_planet_auth/unit/auth/auth_clients/oidc/api_clients/test_discovery_api_client.py",
|
|
255
|
+
"tests/test_planet_auth/unit/auth/auth_clients/oidc/api_clients/test_introspect_api_client.py",
|
|
256
|
+
"tests/test_planet_auth/unit/auth/auth_clients/oidc/api_clients/test_authorization_api_client.py",
|
|
257
|
+
"tests/test_planet_auth/unit/auth/auth_clients/oidc/api_clients/test_device_authorization_api_client.py",
|
|
258
|
+
"tests/test_planet_auth/unit/auth/auth_clients/oidc/api_clients/test_jwks_api_client.py",
|
|
259
|
+
"tests/test_planet_auth/unit/auth/auth_clients/oidc/api_clients/test_userinfo_api_client.py",
|
|
260
|
+
"tests/test_planet_auth/unit/auth/auth_clients/oidc/api_clients/test_token_api_client.py",
|
|
261
|
+
"tests/test_planet_auth/unit/auth/auth_clients/oidc/api_clients/test_api_client_base.py",
|
|
262
|
+
"tests/test_planet_auth/unit/auth/auth_clients/oidc/auth_clients/__init__.py",
|
|
263
|
+
"tests/test_planet_auth/unit/auth/auth_clients/oidc/auth_clients/test_client_validator.py",
|
|
264
|
+
"tests/test_planet_auth/unit/auth/auth_clients/oidc/auth_clients/test_resource_owner.py",
|
|
265
|
+
"tests/test_planet_auth/unit/auth/auth_clients/oidc/auth_clients/test_client_credentials.py",
|
|
266
|
+
"tests/test_planet_auth/unit/auth/auth_clients/oidc/auth_clients/test_device_code.py",
|
|
267
|
+
"tests/test_planet_auth/unit/auth/auth_clients/oidc/auth_clients/test_auth_code.py",
|
|
268
|
+
".github/actions/version-dot-buildnum-fetch/action.yml",
|
|
269
|
+
".github/actions/python-build-env-setup/action.yml",
|
|
270
|
+
".github/actions/version-dot-buildnum-generate/action.yml",
|
|
271
|
+
".github/workflows/test.yml",
|
|
272
|
+
".github/workflows/release-build.yml",
|
|
273
|
+
".github/workflows/release-orchestrate.yml",
|
|
274
|
+
".github/workflows/release-publish.yml"
|
|
275
|
+
]
|
|
276
|
+
}
|
{planet_auth-2.3.1 → planet_auth-2.3.2}/src/planet_auth_config_injection/builtins_provider.py
RENAMED
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
from abc import ABC, abstractmethod
|
|
16
16
|
from typing import Dict, List, Optional
|
|
17
17
|
|
|
18
|
-
|
|
19
18
|
# Unlike other environment variables, AUTH_BUILTIN_PROVIDER is not name-spaced.
|
|
20
19
|
# It is intended for libraries and applications to inject configuration by
|
|
21
20
|
# being set within the program. It's not expected to be set by end-users.
|
|
@@ -107,7 +107,7 @@ def print_jwt_parts(raw, header, body, signature, human_readable):
|
|
|
107
107
|
def hazmat_print_jwt(token_str, human_readable):
|
|
108
108
|
print("UNTRUSTED JWT Decoding\n")
|
|
109
109
|
if token_str:
|
|
110
|
-
|
|
110
|
+
hazmat_header, hazmat_body, hazmat_signature = TokenValidator.hazmat_unverified_decode(token_str)
|
|
111
111
|
print_jwt_parts(
|
|
112
112
|
raw=token_str,
|
|
113
113
|
header=hazmat_header,
|
|
@@ -186,7 +186,7 @@ def cmd_jwt_validate_oauth(ctx, token, token_file, audience, issuer, human_reada
|
|
|
186
186
|
trust with what audiences MUST be controlled by the service operator.
|
|
187
187
|
"""
|
|
188
188
|
token_to_validate = _get_token_or_fail(token_opt=token, token_file_opt=token_file)
|
|
189
|
-
|
|
189
|
+
hazmat_header, hazmat_body, hazmat_signature = TokenValidator.hazmat_unverified_decode(token_to_validate)
|
|
190
190
|
|
|
191
191
|
if issuer:
|
|
192
192
|
validation_iss = issuer
|
|
@@ -326,7 +326,11 @@ class TestMultiValidator:
|
|
|
326
326
|
# You can make the argument this is still valid, because the signature is still
|
|
327
327
|
# from a trusted issuer. But, we reject it based on bad structure.
|
|
328
328
|
token_body["iss"] = [primary_issuer.token_builder.issuer, untrusted_issuer.token_builder.issuer]
|
|
329
|
-
|
|
329
|
+
# Newer versions of PyJWT refuse to even build this test token.
|
|
330
|
+
# That does not mean that a bad actor could not construct one.
|
|
331
|
+
# The expected throw is before we even perform token validation, so it is OK to use a fake token.
|
|
332
|
+
# test_jwt = primary_issuer.token_builder.encode(body=token_body, extra_headers=token_header)
|
|
333
|
+
test_jwt = FakeTokenBuilder.fake_token(body=token_body, header=token_header)
|
|
330
334
|
with pytest.raises(
|
|
331
335
|
InvalidTokenException,
|
|
332
336
|
match=re.escape("Issuer claim ('iss') must be a of string type. 'list' type was detected."),
|
|
@@ -342,16 +346,6 @@ class TestMultiValidator:
|
|
|
342
346
|
):
|
|
343
347
|
under_test.validate_access_token(token=test_jwt)
|
|
344
348
|
|
|
345
|
-
# TC 3
|
|
346
|
-
# Double-talk liar. Using the untrusted signing key, claiming to be ourselves and the trusted issuer.
|
|
347
|
-
token_body["iss"] = [primary_issuer.token_builder.issuer, untrusted_issuer.token_builder.issuer]
|
|
348
|
-
test_jwt = untrusted_issuer.token_builder.encode(body=token_body, extra_headers=token_header)
|
|
349
|
-
with pytest.raises(
|
|
350
|
-
InvalidTokenException,
|
|
351
|
-
match=re.escape("Issuer claim ('iss') must be a of string type. 'list' type was detected."),
|
|
352
|
-
):
|
|
353
|
-
under_test.validate_access_token(token=test_jwt)
|
|
354
|
-
|
|
355
349
|
def test_missing_signature(self):
|
|
356
350
|
# QE TC11 - JWT without a signature
|
|
357
351
|
test_case_name = inspect.currentframe().f_code.co_name
|
{planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth/unit/auth/test_auth_is_initialized.py
RENAMED
|
@@ -26,7 +26,6 @@ from planet_auth_utils.profile import Profile
|
|
|
26
26
|
|
|
27
27
|
from tests.test_planet_auth.unit.auth.util import MockObjectStorageProvider, TestTokenBuilder
|
|
28
28
|
|
|
29
|
-
|
|
30
29
|
# This isn't the best unit test of Auth. Rather, this tests how several
|
|
31
30
|
# things come together to make the request_authenticator_is_ready() work as
|
|
32
31
|
# expected in the Auth class. We run this test for a number of common
|
|
@@ -35,7 +35,6 @@ from planet_auth.storage_utils import (
|
|
|
35
35
|
from tests.test_planet_auth.unit.auth.util import MockObjectStorageProvider, MockStorageObjectNotFound
|
|
36
36
|
from tests.test_planet_auth.util import tdata_resource_file_path
|
|
37
37
|
|
|
38
|
-
|
|
39
38
|
# class MockFileBackedEntity(FileBackedJsonObject):
|
|
40
39
|
# def __init__(self, data=None, file_path=None):
|
|
41
40
|
# super().__init__(data=data, file_path=file_path)
|
{planet_auth-2.3.1 → planet_auth-2.3.2}/tests/test_planet_auth_utils/unit/auth_utils/test_profile.py
RENAMED
|
@@ -23,7 +23,6 @@ from planet_auth.static_api_key.auth_client import StaticApiKeyAuthClientConfig
|
|
|
23
23
|
from planet_auth_utils.profile import Profile, ProfileException
|
|
24
24
|
from tests.test_planet_auth_utils.util import tdata_resource_file_path, TestWithHomeDirProfiles
|
|
25
25
|
|
|
26
|
-
|
|
27
26
|
PROFILE1_NAME = "profile1_static_api_key"
|
|
28
27
|
PROFILE2_NAME = "profile2_invalid"
|
|
29
28
|
PROFILE3_NAME = "profile3_empty"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.3.2
|
planet_auth-2.3.1/version.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.3.1
|
|
File without changes
|
{planet_auth-2.3.1 → planet_auth-2.3.2}/.github/actions/version-dot-buildnum-fetch/action.yml
RENAMED
|
File without changes
|
{planet_auth-2.3.1 → planet_auth-2.3.2}/.github/actions/version-dot-buildnum-generate/action.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|