Interface IUserServiceClient
Methods
addTokenChangedHandler
- addTokenChangedHandler(callback): void
-
Returns void
authenticateEndUserApplication
checkResetPasswordOTP
- checkResetPasswordOTP(checkPasswordResetOtpRequest): Promise<CheckPasswordResetOtpResponse>
-
Returns Promise<CheckPasswordResetOtpResponse>
checkUserSignUpOTP
- checkUserSignUpOTP(checkUserSignUpOtpRequest): Promise<CheckUserSignUpOtpResponse>
-
Returns Promise<CheckUserSignUpOtpResponse>
completeResetPassword
- completeResetPassword(completePasswordResetRequest): Promise<CompletePasswordResetResponse>
-
Returns Promise<CompletePasswordResetResponse>
completeUserSignUp
- completeUserSignUp(completeUserSignUpRequest): Promise<CompleteUserSignUpResponse>
-
Returns Promise<CompleteUserSignUpResponse>
createUserProfile
- createUserProfile(endUserAccessToken, displayName, profilePictureUrl?): Promise<UserProfileCreateResponse>
-
Parameters
-
endUserAccessToken: string
-
displayName: string
-
Optional
profilePictureUrl: string
decryptNativeCookie
- decryptNativeCookie(encryptedCookie, key): Promise<DecryptNativeCookieResponse>
-
Parameters
-
encryptedCookie: string
-
key: string
Returns Promise<DecryptNativeCookieResponse>
deleteUserProfile
- deleteUserProfile(endUserAccessToken, userProfileId): Promise<UserProfileDeleteResponse>
-
Parameters
-
endUserAccessToken: string
-
userProfileId: string
getAuthUrl
- getAuthUrl(idpConnectionId, redirectUrl): URL
-
Parameters
-
idpConnectionId: string
-
redirectUrl: string
Returns URL
getIdpConfigurations
- getIdpConfigurations(): Promise<IdpConfiguration[]>
-
Returns Promise<IdpConfiguration[]>
getNativeAuthUrl
- getNativeAuthUrl(idpConnectionId, redirectUri, encryptionKey): URL
-
Parameters
-
idpConnectionId: string
-
redirectUri: string
-
encryptionKey: string
Returns URL
getUserProfile
- getUserProfile(endUserAccessToken, profileId): Promise<UserProfileResponse>
-
Parameters
-
endUserAccessToken: string
-
profileId: string
getUserProfiles
- getUserProfiles(endUserAccessToken): Promise<UserProfilesResponse>
-
Parameters
-
endUserAccessToken: string
initiateResetPassword
- initiateResetPassword(email, customData?): Promise<InitiatePasswordResetResponse>
-
Parameters
-
email: string
-
Optional
customData: Record<string, unknown>
Returns Promise<InitiatePasswordResetResponse>
initiateUserSignUp
- initiateUserSignUp(userSignUpRequest): Promise<UserSignUpResponse>
-
Returns Promise<UserSignUpResponse>
isDirectSignInConfigured
- isDirectSignInConfigured(): Promise<boolean>
-
Returns Promise<boolean>
logoutUser
- logoutUser(): Promise<boolean>
-
Returns Promise<boolean>
removeTokenChangedHandler
- removeTokenChangedHandler(callback): void
-
Returns void
setActiveProfile
- setActiveProfile(endUserAccessToken, profileId): Promise<UserProfileActivateResponse>
-
Parameters
-
endUserAccessToken: string
-
profileId: string
signInWithCredentials
- signInWithCredentials(signInRequest): Promise<SignInResponse>
-
Returns Promise<SignInResponse>
updateUserProfile
- updateUserProfile(endUserAccessToken, userProfileToUpdate): Promise<UserProfileUpdateResponse>
-
Parameters
-
endUserAccessToken: string
-