@@ -10,9 +10,9 @@ OpenSPP API: Oauth
1010 !! source digest: sha256:25a909cff59dac7bf6fb0a36671aac5a2b03bbd13eda1b5085bde0c2f467c93f
1111 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1212
13- .. |badge1 | image :: https://img.shields.io/badge/maturity-Beta-yellow .png
13+ .. |badge1 | image :: https://img.shields.io/badge/maturity-Alpha-red .png
1414 :target: https://odoo-community.org/page/development-status
15- :alt: Beta
15+ :alt: Alpha
1616.. |badge2 | image :: https://img.shields.io/badge/license-LGPL--3-blue.png
1717 :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
1818 :alt: License: LGPL-3
@@ -43,28 +43,28 @@ Key Capabilities
4343Key Models
4444~~~~~~~~~~
4545
46- +-------------------------+-------------------------------------------+
47- | Model | Description |
48- +=========================+===========================================+
49- | ``res.config.settings `` | Extended to add OAuth private and public |
50- | | key fields |
51- +-------------------------+-------------------------------------------+
46+ +-------------------------+-------------------------------------------- +
47+ | Model | Description |
48+ +=========================+============================================ +
49+ | ``res.config.settings `` | Extended to add OAuth private and public |
50+ | | key fields |
51+ +-------------------------+-------------------------------------------- +
5252
5353Utility Functions
5454~~~~~~~~~~~~~~~~~
5555
56- +----------------------------------+----------------------------------+
57- | Function | Purpose |
58- +==================================+==================================+
59- | ``calculate_signature() `` | Encodes JWT with header and |
60- | | payload using RS256 |
61- +----------------------------------+----------------------------------+
62- | ` | Decodes and verifies JWT token, |
63- | `verify_and_decode_signature()`` | returns payload |
64- +----------------------------------+----------------------------------+
65- | ``OpenSPPOAuthJWTException `` | Custom exception for OAuth JWT |
66- | | errors with logging |
67- +----------------------------------+----------------------------------+
56+ +----------------------------------- +----------------------------------+
57+ | Function | Purpose |
58+ +=================================== +==================================+
59+ | ``calculate_signature() `` | Encodes JWT with header and |
60+ | | payload using RS256 |
61+ +----------------------------------- +----------------------------------+
62+ | `` verify_and_decode_signature() `` | Decodes and verifies JWT token, |
63+ | | returns payload |
64+ +----------------------------------- +----------------------------------+
65+ | ``OpenSPPOAuthJWTException `` | Custom exception for OAuth JWT |
66+ | | errors with logging |
67+ +----------------------------------- +----------------------------------+
6868
6969Configuration
7070~~~~~~~~~~~~~
@@ -118,6 +118,10 @@ Dependencies
118118
119119**External Python **: ``pyjwt>=2.4.0 ``
120120
121+ .. IMPORTANT ::
122+ This is an alpha version, the data model and design can change at any time without warning.
123+ Only for development or testing purpose, do not use in production.
124+
121125**Table of contents **
122126
123127.. contents ::
0 commit comments