UpdateAttribute

sealed class UpdateAttribute

A sealed class that contains multiple nested classes that model different user attributes that can be updated. For certain attributes, a password is required to update the value. For such attributes, a password field will be defined as the constructor param of the nested class.

Types

Link copied to clipboard
data class Email(val newEmail: String, val password: String) : AuthenticationService.UpdateAttribute
Link copied to clipboard
data class Name(val newName: String) : AuthenticationService.UpdateAttribute
Link copied to clipboard
data class Password(val newPassword: String, val oldPassword: String) : AuthenticationService.UpdateAttribute
Link copied to clipboard
data class ProfilePhotoUri(val newPhotoUri: Uri) : AuthenticationService.UpdateAttribute

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard