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.0.11b1748473964.tar.gz (238.5 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.0.11b1748473964-py3-none-any.whl (152.3 kB view details)

Uploaded Python 3

File details

Details for the file planet_auth-2.0.11b1748473964.tar.gz.

File metadata

  • Download URL: planet_auth-2.0.11b1748473964.tar.gz
  • Upload date:
  • Size: 238.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for planet_auth-2.0.11b1748473964.tar.gz
Algorithm Hash digest
SHA256 6822b501b723e9218c1a2006ab0118265a909178d83c33b8a4eb73ed2c05623e
MD5 201fe729f27551bfee6a65a36893bb10
BLAKE2b-256 9b323cd8d75a7a713f90f8c82a9c684c240b68301884e6c03be36665fe502f26

See more details on using hashes here.

Provenance

The following attestation bundles were made for planet_auth-2.0.11b1748473964.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.0.11b1748473964-py3-none-any.whl.

File metadata

File hashes

Hashes for planet_auth-2.0.11b1748473964-py3-none-any.whl
Algorithm Hash digest
SHA256 951c71da7ab7c681a75bf65e119f36db225a7bd224e46e50b3a33d90311e1150
MD5 289efd8fb819f0bae9e0bf99aafb6190
BLAKE2b-256 1c5f018c0cf9d8d2b8d1ab606429a34ddccf274ff75ea0b83cd92db06d8499c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for planet_auth-2.0.11b1748473964-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