Metadata-Version: 2.1
Name: auth-token
Version: 0.0.1
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
        
        ## Package installation
        - Installation
            ```shell
            $ pip3 install auth-token
            ```
        
        ## Docs
        ```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'
        ```
        
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
