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

com.haventec.nativeux.adapter.java.sdk.api.models.UpdateUserRequest 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;

/**
 * Request object that represents request sent by an externally
 * authenticated user e.g. a CRM user, to update authenticate user's details for a given Haventec Authenticate username
 */
@Data
@Builder
public class UpdateUserRequest {
    // The client id to which the user belongs
    private String clientId;
    // New email of the user
    private String email;
    // New mobile number of the user e.g. +61443435543
    private String mobileNumber;
    // Access token of the externally authenticated user e.g. a CRM user
    private String requestorToken;
    // Username of the externally authenticated user e.g. a CRM user
    private String requestorUsername;

    //The following optional fields to update username
    // Purpose of the generated OTP e.g. Update username by CRM user
    private String purpose;
    // Generated OTP value to be validated e.g. 123456
    private char[] otpValue;
    // New username of the user e.g. new_user
    private String newUsername;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy