Share via


InfoRequest Class

Definition

The request type for the "/manage/info" endpoint added by MapIdentityApi<TUser>(IEndpointRouteBuilder). All properties are optional. No modifications will be made to the user if all the properties are omitted from the request.

public sealed class InfoRequest
type InfoRequest = class
Public NotInheritable Class InfoRequest
Inheritance
InfoRequest

Constructors

InfoRequest()

Properties

NewEmail

The optional new email address for the authenticated user. This will replace the old email address if there was one. The email will not be updated until it is confirmed.

NewPassword

The optional new password for the authenticated user. If a new password is provided, the OldPassword is required. If the user forgot the old password, use the "/forgotPassword" endpoint instead.

OldPassword

The old password for the authenticated user. This is only required if a NewPassword is provided.

Applies to