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

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

Go to download

Applications that would like to offer login pages with a native UX, could use this SDK to orchestrate the OpenID Connect flow from their application backend service.

The newest version!
package com.haventec.nativeux.adapter.java.sdk.api.models;

import lombok.Builder;
import lombok.Data;

/**
 * Response object that represents generated One-Time-Password (OTP) details for a non-authenticated user such as OTP value, date of creation, and date of expiry
 */
@Builder
@Data
public class GenerateSelfServiceOtpResponse {
    // The unique id associated with the generated OTP
    private String otpUuid;
    // Generated OTP value for the user
    private String otpValue;
    // Defines the date and time when the OTP was created in seconds from the epoch of 1970-01-01T00:00:00Z
    private long dateCreated;
    // Defines the expiry date and time for the OTP in seconds from the epoch of 1970-01-01T00:00:00Z
    private long dateExpired;
    // Email address of the user
    private String userEmail;
    // Mobile number of the user e.g. +61443435543
    private String mobileNumber;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy