Metadata-Version: 2.1
Name: auth-token
Version: 0.0.3
Summary: Auth token jwt
Home-page: https://gitlab.com/developerjoseph/auth-token
Author: Jose Salas
Author-email: josephsalas.developer@gmail.com
License: UNKNOWN
Description: # Auth-token
        
        Package Auth token jwt
        
        [![pipeline status](https://gitlab.com/developerjoseph/auth-token/badges/master/pipeline.svg)](https://gitlab.com/developerjoseph/auth-token/-/commits/master) [![coverage report](https://gitlab.com/developerjoseph/auth-token/badges/master/coverage.svg)](https://gitlab.com/developerjoseph/auth-token/-/commits/master)
        
        ## Package installation
        
        - Installation
            ```shell
            $ pip3 install auth-token
            ```
        
        ## Docs
        
        - [Readme](https://auth-token-docs.readthedocs.io/en/latest/)
        
        
        ## Examples
        
        ```python
        
        >>> from auth_token import AuthToken
        
        >>> identifier = '12345678'
        >>> exp_minutes = 60
        >>> secret_key = 'secret_key'
        >>> auth = AuthToken(identifier, exp_minutes, secret_key)
        >>> response = auth.encode()
        >>> print(response.token)
        'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1ODc5NTY5ODQsImlhdCI6MTU4Nzk1NjY4NCwic3ViIjoiMSIsInV1aWQiOiJhYTUwNWE3ZS1hMjEyLTRiOTktYmI3Yy02Njg3MjViZGQ3YTcifQ.l1uGXiZpZHuOt0iWmcksLsdkUQjYesH_OxmCpjJHWDk'
        ```
        
        [Edit in Gitlab](https://gitlab.com/developerjoseph/auth-token)
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
