| 程序包 | 说明 |
|---|---|
| io.polaris.core.crypto.otp |
| 限定符和类型 | 方法和说明 |
|---|---|
static GoogleAuthenticatorKey.Builder |
GoogleAuthenticatorKey.builder(String key) |
GoogleAuthenticatorKey.Builder |
GoogleAuthenticatorKey.Builder.setConfig(GoogleAuthenticatorConfig config)
Sets the config of the TOTP algorithm for this key.
|
GoogleAuthenticatorKey.Builder |
GoogleAuthenticatorKey.Builder.setKey(String key)
Sets the secret key.
|
GoogleAuthenticatorKey.Builder |
GoogleAuthenticatorKey.Builder.setScratchCodes(List<Integer> scratchCodes)
Sets the scratch codes.
|
GoogleAuthenticatorKey.Builder |
GoogleAuthenticatorKey.Builder.setVerificationCode(int verificationCode)
Sets the verification code.
|
Copyright © 2024 fossc. All rights reserved.