ProfileService
@loginid/websdk3 • Docs
@loginid/websdk3 / Internal Modules / ProfileService
Class: ProfileService
Constructors
new ProfileService()
new ProfileService(
httpRequest
):ProfileService
Parameters
• httpRequest: BaseHttpRequest
Returns
Properties
httpRequest
readonly
httpRequest:BaseHttpRequest
Methods
profileProfileDelete()
profileProfileDelete(
__namedParameters
):CancelablePromise
<void
>
Delete a user profile and all associated passkey
Parameters
• __namedParameters
• __namedParameters.id: string
Internal user identifier
Returns
CancelablePromise
<void
>
void
Throws
ApiError
profileProfileEmailUpdate()
profileProfileEmailUpdate(
__namedParameters
):CancelablePromise
<void
>
Update profile email address
Parameters
• __namedParameters
• __namedParameters.id: string
Internal user identifier
• __namedParameters.requestBody: ProfileEmailUpdateRequestBody
Returns
CancelablePromise
<void
>
void
Throws
ApiError
profileProfileEmailVerify()
profileProfileEmailVerify(
__namedParameters
):CancelablePromise
<void
>
Verify phone number with received authorization code
Parameters
• __namedParameters
• __namedParameters.requestBody: ProfilePhoneVerifyRequestBody
Returns
CancelablePromise
<void
>
void
Throws
ApiError
profileProfilePhoneDelete()
profileProfilePhoneDelete(
__namedParameters
):CancelablePromise
<void
>
Delete phone from the profile
Parameters
• __namedParameters
• __namedParameters.id: string
Internal user identifier
Returns
CancelablePromise
<void
>
void
Throws
ApiError
profileProfilePhoneUpdate()
profileProfilePhoneUpdate(
__namedParameters
):CancelablePromise
<void
>
Update the profile phone number
Parameters
• __namedParameters
• __namedParameters.id: string
Internal user identifier
• __namedParameters.requestBody: ProfilePhoneUpdateRequestBody
Returns
CancelablePromise
<void
>
void
Throws
ApiError
profileProfilePhoneVerify()
profileProfilePhoneVerify(
__namedParameters
):CancelablePromise
<void
>
Verify phone number with received authorization code
Parameters
• __namedParameters
• __namedParameters.requestBody: ProfilePhoneVerifyRequestBody
Returns
CancelablePromise
<void
>
void
Throws
ApiError