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.11b1746511689.tar.gz (237.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.11b1746511689-py3-none-any.whl (151.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: planet_auth-2.0.11b1746511689.tar.gz
  • Upload date:
  • Size: 237.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.11b1746511689.tar.gz
Algorithm Hash digest
SHA256 9f9f7e0f3ad7b8f96876cc0486e6220536d508ff2df8739a13b22b79b5af8b44
MD5 1d91d7bfef0e5723308f6e1a9505f8c2
BLAKE2b-256 9ea50e9f9b115aded818758049f8ea79e04e2ff8a77d83f04c83704a51cd5003

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for planet_auth-2.0.11b1746511689-py3-none-any.whl
Algorithm Hash digest
SHA256 03b4c09f5d8cffb6c3f83ca30dd4f2dfeebc4cb213bdaaabbe75305ae5baf978
MD5 ba39002ff6a8402a751533dd0c52806d
BLAKE2b-256 f7367e0c28af6c82187f71cabb6c1148ac2adff0d1520154b34c8826dc9627d6

See more details on using hashes here.

Provenance

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