UserPasswordData
public struct UserPasswordData : Content
extension UserPasswordData: RCFValidatable
Used to change a user’s password. Even when already logged in, users need to provide their current password to set a new password.
Required by: POST /api/v3/user/password
See UserController.passwordHandler(_:data:).
-
The user’s current password.
Declaration
Swift
var currentPassword: String -
The user’s desired new password.
Declaration
Swift
var newPassword: String -
Declaration
Swift
func runValidations(using decoder: ValidatingDecoder) throws
View on GitHub