com.haventec.nativeux.adapter.java.sdk.api.models.SelfServiceUpdateUserRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of native-ux-adapter-java-sdk Show documentation
Show all versions of native-ux-adapter-java-sdk Show documentation
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 com.haventec.nativeux.adapter.java.sdk.api.HaventecOidcLp;
import lombok.Builder;
import lombok.Data;
@Data
@Builder
/**
* Request object representing the values to be sent when user wants to update his details.
*/
public class SelfServiceUpdateUserRequest {
// Access token generated by Haventec IAM to authorise the user e.g. eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJ2Z3MyeGlJUTNNdC1IZWlXdm1DejFuWkhmYlc4clFMandzOWJZdENYeHJnIn0.eyJqdGkiOiI5ZmVjMzU5Mi1lYzJiLTQ5Y2YtOGYxZi1lMDRlNDYxNGFkNGYiLCJleHAiOjE2Mjk3MTQ5MDMsIm5iZiI6MCwiaWF0IjoxNjI5Njc4OTAzLCJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjgwODAvYXV0aC9yZWFsbXMvQ1JNIiwiYXVkIjoiYWNjb3VudCIsInN1YiI6ImI5ZjEyZDViLWI5ODctNDMxMS04OGY1LTJkNmNlODg0ZGE5NyIsInR5cCI6IkJlYXJlciIsImF6cCI6ImNybV9jbGllbnQiLCJhdXRoX3RpbWUiOjAsInNlc3Npb25fc3RhdGUiOiI5NWFmZmM2Ny1jMzUxLTQ0MTMtYTY0OS1mNmI0NzM1MzJkNmYiLCJhY3IiOiIxIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIm9mZmxpbmVfYWNjZXNzIiwidW1hX2F1dGhvcml6YXRpb24iXX0sInJlc291cmNlX2FjY2VzcyI6eyJhY2NvdW50Ijp7InJvbGVzIjpbIm1hbmFnZS1hY2NvdW50IiwibWFuYWdlLWFjY291bnQtbGlua3MiLCJ2aWV3LXByb2ZpbGUiXX19LCJzY29wZSI6InByb2ZpbGUgZW1haWwiLCJlbWFpbF92ZXJpZmllZCI6ZmFsc2UsInByZWZlcnJlZF91c2VybmFtZSI6InVzZXJ0ZXN0IiwiZW1haWwiOiJtYXVsaS5wYXRlbEBoYXZlbnRlYy5jb20ifQ.CyZcCvEfqOLCNmRvDx6yU25XY5GKJcJjCJXc9xuVzu1jwjS-04BWqhVxZ249snI3xW8LSlt0YcTNeC3UE6aN0HcEjSN2yzEM7ejBBrMkVBJhx6Iu-PtjtIPxQsRxepLokcPMbhRCupy35s96pNJy9bqo3t5HL19F0xKTVW6Nk2SVLrZ3Ov_PGnHNAw2uy0YWbtEhokspdFR1IkhUcUv8tD7ZvRkllIxcnTN1Np2JJgv3oBwlX0OZNjCX69CWXTRTAx_y4loknUNm201vNKTytDCT44yOfO8FxEkLTeLbk8TYona4_v3A7ZbNiqoxCaDeYyA3v8Syuq0X7KXhcJnhww
private String iamUserJwt;
// The client id to which authenticate user belongs e.g. 3dc7f13c-aac0-40d9-b9f1-e73c42b412b5
private String clientId;
// New username of the user e.g. john.booth, [email protected]
private String username;
// The new email to be updated (Optional) e.g. [email protected]
private String email;
// The unique id associated with the generated OTP e.g. ce40eb09-313b-4226-b7bd-8182ed35229d
private String otpUuid;
// Purpose to generate OTP
private final String purpose = HaventecOidcLp.SELF_SERVICE_UDPATE_USER_OTP_PURPOSE;
// Generated OTP value to be validated e.g 123456
private String otpValue;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy