AuthenticateParameters
data class AuthenticateParameters @JvmOverloads constructor(val organizationId: String, val memberId: String, val code: String, val setMFAEnrollment: SetMFAEnrollment? = null, val setDefaultMFAMethod: Boolean? = null, val sessionDurationMinutes: Int = DEFAULT_SESSION_TIME_MINUTES)
A data class wrapping the parameters needed to authenticate a TOTP
Properties
Link copied to clipboard
The ID of the organization the member belongs to
Link copied to clipboard
indicates how long the session should last before it expires
Link copied to clipboard
If set to true, sets TOTP as the member's default MFA method.
Link copied to clipboard
If set to 'enroll', enrolls the member in MFA by setting the "mfa_enrolled" boolean to true. If set to 'unenroll', unenrolls the member in MFA by setting the "mfa_enrolled" boolean to false. If not set, does not affect the member's MFA enrollment.