{"repo":"Mastercard/oauth1-signer-python","free":true,"listed":false,"github":"https://github.com/Mastercard/oauth1-signer-python","clone":"git clone https://github.com/Mastercard/oauth1-signer-python.git","description":"Python library for generating a Mastercard API compliant OAuth signature.","language":"Python","stars":31,"topics":["python","python3","oauth1","oauth1a","mastercard","openapi"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"oauth1-signer-python Table of Contents - Overview Compatibility Supported Signature Methods References Versioning and Deprecation Policy - Usage Prerequisites Adding the Library to Your Project Importing the Code Loading the Signing Key Creating the OAuth Authorization Header Signing HTTP Client Request Objects Integrating with OpenAPI Generator API Client Libraries Overview Python library for generating a Mastercard API compliant OAuth signature. Compatibility Version Python Status Notes ------------------------ -------- -------- ------- 1.9.2 3.8, 3.9, 3.10, 3.11, 3.12 Current Maintenance & security fixes 2.0.0 (coming soon) 3.10, 3.11, 3.12 Planned Drops 3.8/3.9 support ⚠️ Deprecation Notice: Python 3.8 (EOL Oct 2024) and 3.9 (EOL Oct 2025) support will be removed in v2.0.0. Python 3.8 and 3.9 are deprecated and will be removed in v2.0.0 (Python 3.10+ only). A DeprecationWarning is emitted when importing this package on Python 3.8/3.9. Release notes: see CHANGELOG.md (or GitHub Releases). Supported Signature Methods Two cryptographic methods are available for generating OAuth signatures, selected via the SignatureMethod enum: Important: the signature method parameter expects a SignatureMethod enum member . Do not pass raw strings (e.g. \"RSA-SHA256\" , \"RSA-PSS-SHA256\" ). Enum Value Algorithm Specification --- --- --- SignatureMethod.RSA SHA256 (default) RSASSA-PKCS1-v1 5 with SHA-256 RFC 8017 §8.2 SignatureMethod.RSA PSS SHA256 RSASSA-PSS (Digest: SHA-256, MGF: MGF1 with SH","default_branch":null,"files":null,"tree":[],"storefront":"/r/Mastercard","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Mastercard/oauth1-signer-python/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}