Skip to main content

urm_validatetoken package contains method validate_token() which takes access_token as input and returns status of the token as valid or invalid.

Project description

Method validate_token() takes four required parameters and returns two values.

syntax: <TOKEN_VALIDATION_STATUS>, <TOKEN_STATUS> = urm_validatetoken.validate_token(<REQUEST_METHOD>,<VALIDATE_TOKEN_URL>,<ACCESS_TOKEN>,<CONTENT_TYPE>).

<REQUEST_METHOD>: POST, PUT, GET, PATCH, etc. <VALIDATE_TOKEN_URL>: url of validate_token api. <ACCESS_TOKEN>: unique access token for authorization. <CONTENT_TYPE>: for ex. application/json. <TOKEN_VALIDATION_STATUS>: validation status description. <TOKEN_STATUS>: it may contain value True or False or status_code(403 or 401).

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

urm_validatetoken-0.0.7.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

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

urm_validatetoken-0.0.7-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file urm_validatetoken-0.0.7.tar.gz.

File metadata

  • Download URL: urm_validatetoken-0.0.7.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for urm_validatetoken-0.0.7.tar.gz
Algorithm Hash digest
SHA256 e3848a53542811c0bbfaedc7cc64a05161fdbebc32cbef1a83f783f6882590f3
MD5 a5f30f2c4260cef2e0bef054f9873b77
BLAKE2b-256 b1d98895c6f6f54912c18187ab0848e6b60ce700b537ccad6ecdb18c532d6816

See more details on using hashes here.

File details

Details for the file urm_validatetoken-0.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for urm_validatetoken-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 aa4962428a21c1198e68c79a0f065fb3a33c99a945e107d91d8f76bd2776accc
MD5 578c03b97636a13233a74c801f69115d
BLAKE2b-256 bbb4dc67db58ffc13bfe957fe4dc2e69ba4181049d3515b2352addab9d3e595b

See more details on using hashes here.

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