nice-go 1.0.3
Base64-encodes serialized JSONEncodes serialized JSON text as bytes
SHA-2561b466e3ae1ee8190da382b48fef0c5dd84022c042a1d6da6bf2697ee5f555899
Evidence
1Metadata-Version: 2.4
2Name: nice-go
3Version: 1.0.3
4Summary: Control various Nice access control products
5License: MIT
6License-File: LICENSE
7Author: IceBotYT
8Author-email: 34712694+[email protected]
9Requires-Python: >=3.9.1,<4.0
10Classifier: Development Status :: 4 - Beta
11Classifier: Intended Audience :: Developers
12Classifier: License :: OSI Approved :: M …
18:39… thon :: 3.12
19Classifier: Programming Language :: Python :: 3.13
20Classifier: Programming Language :: Python :: 3.14
21Classifier: Programming Language :: Python :: 3.9
22Classifier: Topic :: Software Development :: Libraries :: Python Modules
23Classifier: Typing :: Typed
24Requires-Dist: aiobotocore (>=2.13.1,<4.0.0)
25Requires-Dist: aiohttp (>=3.9.5)
26Requires-Dist: pycognito (>=2024.5.1)
27Requires-Dist: tenacity (>=8.5.0)
28Requires-Dist: yarl (> …
30:56… go
31Project-URL: Repository, https://github.com/IceBotYT/nice-go
32Description-Content-Type: text/markdown
33
34# Nice G.O.
35
36[](https://pypi.python.org/pypi/nice-go/)
37[
14from nice_go.nice_go_api import NiceGOApi
15
16__all__ = [
⋯11 lines
1"""Holds the tokens retrieved from authentication."""
2
3from __future__ import annotations
4
5
6class AuthenticationTokens:
7 """
8 A class to handle authentication tokens.
9
10 Initializes an AuthenticationTokens object with the provided data dictionary. It
11 extracts the 'IdToken' and 'RefreshToken' if available, storing them as attributes.
12
13 Args:
⋯9 lines
23 def __init__(self, data: dict[str, str]) -> None:
24 """Initialize the AuthenticationTokens object."""
25 self.id_token = data["IdToken"]
26 self.refresh_token: str | None = None
27 try:
28 self.refresh_token = data["RefreshToken"]
29 except KeyError:
30 self.refresh_token = None
Showing the top 5 files — 5 more files (61 regions) not shown.
No evidence locations were recorded for this file. Raw result