-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added the ability to use phone-call 2FA. (Closes #2).
Added the ability to use a phone-call second factor, by introducing an additional constructor argument, called `twofactor_type`. Currently, we support TwofactorType.DUO_PUSH, for the old 2FA flow, or TwofactorType.PHONE_CALL, for phone-call 2FA. The phone-call 2FA requires additional status page calls.
- Loading branch information
Showing
4 changed files
with
130 additions
and
20 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [0.3.0] - 2022-01-15 | ||
### Added | ||
- Added the ability to use phone-call second factor. | ||
- Added additional constructor argument to select between | ||
available second factor options. | ||
- Added typing-extensions to dependencies to properly support | ||
Python 3.6 and Python 3.7 | ||
|
||
## [0.2.0] | ||
### Added | ||
- First working version of the touchstone auth. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
|
||
setuptools.setup( | ||
name='touchstone-auth', | ||
version='0.2.0', | ||
version='0.3.0', | ||
author='Christopher Johnstone', | ||
author_email='[email protected]', | ||
description='Access Touchstone SSO sites without a web browser.', | ||
|
@@ -28,6 +28,7 @@ | |
install_requires=[ | ||
'beautifulsoup4', | ||
'requests', | ||
'requests-pkcs12==1.10' | ||
'requests-pkcs12==1.10', | ||
'typing-extensions' | ||
] | ||
) |
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