Created
November 2, 2022 16:33
-
-
Save smd877/a70e5808fbf47df2fd55921da27c56cd to your computer and use it in GitHub Desktop.
TOTPでトークンを取得するサンプル
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
import passlib.totp | |
passlib.totp.TOTP('SECRETの値').generate().token |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment