-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP oie implementation, oauth2 only, authorization code flow.
- Loading branch information
Showing
10 changed files
with
510 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,6 +91,7 @@ venv/ | |
ENV/ | ||
env.bak/ | ||
venv.bak/ | ||
.vscode/ | ||
|
||
# Spyder project settings | ||
.spyderproject | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
beautifulsoup4>=4.6.0 | ||
botocore>=1.12.36 | ||
certifi>=2022.12.07 # This can be removed when requests updates its requirements from 2017.4.17 to >=2022.12.07 | ||
platformdirs>=2.5.4 | ||
requests>=2.19.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,23 @@ | ||
# vim: set filetype=python ts=4 sw=4 | ||
# -*- coding: utf-8 -*- | ||
"""Tokendito module initialization.""" | ||
__version__ = "2.1.2" | ||
"""tokendito module initialization.""" | ||
|
||
from requests import Session | ||
|
||
__version__ = "2.2.0.rc1" | ||
__title__ = "tokendito" | ||
__description__ = "Get AWS STS tokens from Okta SSO" | ||
__long_description_content_type__ = "text/markdown" | ||
__url__ = "https://github.com/dowjones/tokendito" | ||
__author__ = "tokendito" | ||
__author_email__ = "[email protected]" | ||
__license__ = "Apache 2.0" | ||
|
||
Session = Session() | ||
Session.headers.update( | ||
{ | ||
"User-Agent": f"tokendito/{__version__}", | ||
"content-type": "application/json", | ||
"accept": "application/json", | ||
} | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.