All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.haventec.nativeux.adapter.java.sdk.api.models.GenerateUserOtpRequest Maven / Gradle / Ivy

package com.haventec.nativeux.adapter.java.sdk.api.models;

import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

/**
 * Request object that represents a request to generate an One-Time-Password (OTP) for the authenticated user to verify the user’s email and mobile
 */
@Getter
@Setter
@Builder
public class GenerateUserOtpRequest {
    // The client id to which the user belongs
    private String clientId;
    // Purpose to generate OTP
    private String purpose;
    // Access token generated by Haventec IAM to authorise the user
    private String iamUserJwt;
    // Defines the lifespan of the OTP in SECONDS
    private int ttl;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy