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.1.1b1754970294.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.1.1b1754970294-py3-none-any.whl (152.4 kB view details)

Uploaded Python 3

File details

Details for the file planet_auth-2.1.1b1754970294.tar.gz.

File metadata

  • Download URL: planet_auth-2.1.1b1754970294.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.1.1b1754970294.tar.gz
Algorithm Hash digest
SHA256 302f571746118776211e51f27dadd7b78b21f30575f8bdef053f91144c49f7bd
MD5 b74e65e8f2435c94c46d00345dd6c689
BLAKE2b-256 29a9fd08f638669a3d21d04f671e30cee51eb78f0b4625038a1776cdb49104f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for planet_auth-2.1.1b1754970294.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.1.1b1754970294-py3-none-any.whl.

File metadata

File hashes

Hashes for planet_auth-2.1.1b1754970294-py3-none-any.whl
Algorithm Hash digest
SHA256 2a3ce4b294d53526ddb306880f3c329a1b049bf9ac595209d16fc418c101d112
MD5 cf78041c8252bb71a64ad69e47180454
BLAKE2b-256 43fea722f8d5600e879671d7a0447923b9412600bc604a9a2910a33c39475636

See more details on using hashes here.

Provenance

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