Skip to main content

Planet Auth Utility Code

Project description

Planet Auth Utility Library

Overview

The Planet Auth Library provides generic authentication utilities for clients and services. For clients, it provides the means to obtain access tokens that can be used to access network services. For services, it provides tools to validate the same access tokens.

The architecture of the code was driven by OAuth2, but is intended to be easily extensible to new authentication protocols in the future. Since clients and resource servers are both themselves clients to authorization servers in an OAuth2 deployment, this combining of client and server concerns in a single library was seen as natural.

Currently, this library supports OAuth2, Planet's legacy proprietary authentication protocols, and static API keys.

This library does not make any assumptions about the specific environment in which it is operating, leaving that for higher level applications to configure.

The Planet SDK for Python leverages this library, and is pre-configured for the Planet Insights Platform used by customers.

Installation

Install from PyPI using pip:

pip install planet-auth

Documentation

See Planet Auth Library on ReadTheDocs.io for complete documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

planet_auth-2.3.0a1759946524.tar.gz (247.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

planet_auth-2.3.0a1759946524-py3-none-any.whl (155.4 kB view details)

Uploaded Python 3

File details

Details for the file planet_auth-2.3.0a1759946524.tar.gz.

File metadata

  • Download URL: planet_auth-2.3.0a1759946524.tar.gz
  • Upload date:
  • Size: 247.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for planet_auth-2.3.0a1759946524.tar.gz
Algorithm Hash digest
SHA256 357225578385c4f25f8c38ce620c1e7f29b9b9df1644c94cfa8d0f6677078f75
MD5 1e5fe99ef181aec68be7045af1b7035e
BLAKE2b-256 fa7039d3224cea244905ebe3ea45ef1543cedf54c00d781e5c2d48ca327bc348

See more details on using hashes here.

Provenance

The following attestation bundles were made for planet_auth-2.3.0a1759946524.tar.gz:

Publisher: release-orchestrate.yml on planetlabs/planet-auth-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file planet_auth-2.3.0a1759946524-py3-none-any.whl.

File metadata

File hashes

Hashes for planet_auth-2.3.0a1759946524-py3-none-any.whl
Algorithm Hash digest
SHA256 d03ccd0593d10fba9be0d00e19bf8ea2967d5d0d5b7fd118be903548370a875d
MD5 5cc0997f4665b23b68fa770300b812c4
BLAKE2b-256 27f0d69e0e11db9f08e95eec94594fd1c19a7159d34ff92da1a890a5cea3f21d

See more details on using hashes here.

Provenance

The following attestation bundles were made for planet_auth-2.3.0a1759946524-py3-none-any.whl:

Publisher: release-orchestrate.yml on planetlabs/planet-auth-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page