Lab-orchestrator-lib-auth

Latest version: v2.1.1

Safety actively analyzes 623807 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

2.1.0

New features
- You can now specify which algorithm should be used
- This adds the ability to use asymmetric keys

2.0.3

Changes
- Added documentation of exception inheritance

2.0.2

Changes
- fixed documentation of exceptions

2.0.1

Changes
- fixed type hint (15)

2.0.0

Features
- Improved error handling through raising exceptions
- Added unit tests

API changes
- `generate_auth_token`
- now has an additional optional parameter `expires_at`
- `decode_auth_token`
- doesn't return None anymore, instead in case of an error during decoding an exception is raised
- currently the return type hint is wrong (15)
- `verify_auth_token`
- return type is not optional anymore
- the return is now a tuple that contains
- a boolean that indicates if the data is valid at first place
- and the data at second place
- in case of an error during decoding an exception is raised

1.0.0

Features
- Generate token with lab instance data
- Decode and verify the same token

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.