Package com.stytch.sdk.consumer.otp
Class OTP.AuthParameters
-
- All Implemented Interfaces:
public final class OTP.AuthParametersData class used for wrapping parameters used with OTP authentication
-
-
Constructor Summary
Constructors Constructor Description OTP.AuthParameters(String token, String methodId, Integer sessionDurationMinutes)OTP.AuthParameters(String token, String methodId)
-
Method Summary
Modifier and Type Method Description final StringgetToken()the value sent to the user via the otp delivery method final StringgetMethodId()the identifier returned from the corresponding loginOrCreate or send method final IntegergetSessionDurationMinutes()indicates how long the session should last before it expires -
-
Method Detail
-
getMethodId
final String getMethodId()
the identifier returned from the corresponding loginOrCreate or send method
-
getSessionDurationMinutes
final Integer getSessionDurationMinutes()
indicates how long the session should last before it expires
-
-
-
-