Share via


SetPasswordModel Class

Definition

This API supports the ASP.NET Core Identity default UI infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public abstract class SetPasswordModel : Microsoft.AspNetCore.Mvc.RazorPages.PageModel
type SetPasswordModel = class
    inherit PageModel
Public MustInherit Class SetPasswordModel
Inherits PageModel
Inheritance
SetPasswordModel

Constructors

SetPasswordModel()

Properties

HttpContext

Gets the HttpContext.

(Inherited from PageModel)
Input

This API supports the ASP.NET Core Identity default UI infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

MetadataProvider

Gets or sets the IModelMetadataProvider.

(Inherited from PageModel)
ModelState

Gets the ModelStateDictionary.

(Inherited from PageModel)
PageContext

Gets the PageContext.

(Inherited from PageModel)
Request

Gets the HttpRequest.

(Inherited from PageModel)
Response

Gets the HttpResponse.

(Inherited from PageModel)
RouteData

Gets the RouteData for the executing action.

(Inherited from PageModel)
StatusMessage

This API supports the ASP.NET Core Identity default UI infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

TempData

Gets or sets ITempDataDictionary used by PageResult.

(Inherited from PageModel)
Url

Gets or sets the IUrlHelper.

(Inherited from PageModel)
User

Gets the ClaimsPrincipal for user associated with the executing action.

(Inherited from PageModel)
ViewData

Gets the ViewDataDictionary.

(Inherited from PageModel)

Methods

BadRequest()

Creates a BadRequestResult that produces a Status400BadRequest response.

(Inherited from PageModel)
BadRequest(ModelStateDictionary)

Creates a BadRequestObjectResult that produces a Status400BadRequest response.

(Inherited from PageModel)
BadRequest(Object)

Creates a BadRequestObjectResult that produces a Status400BadRequest response.

(Inherited from PageModel)
Challenge()

Creates a ChallengeResult.

(Inherited from PageModel)
Challenge(AuthenticationProperties, String[])

Creates a ChallengeResult with the specified authentication schemes and properties.

(Inherited from PageModel)
Challenge(AuthenticationProperties)

Creates a ChallengeResult with the specified properties.

(Inherited from PageModel)
Challenge(String[])

Creates a ChallengeResult with the specified authentication schemes.

(Inherited from PageModel)
Content(String, MediaTypeHeaderValue)

Creates a ContentResult object with Status200OK by specifying a content string and a contentType.

(Inherited from PageModel)
Content(String, String, Encoding)

Creates a ContentResult object with Status200OK by specifying a content string, a contentType, and contentEncoding.

(Inherited from PageModel)
Content(String, String)

Creates a ContentResult object with Status200OK by specifying a content string and a content type.

(Inherited from PageModel)
Content(String)

Creates a ContentResult object with Status200OK by specifying a content string.

(Inherited from PageModel)
File(Byte[], String, String)

Returns a file with the specified fileContents as content (Status200OK), the specified contentType as the Content-Type and the specified fileDownloadName as the suggested file name.

(Inherited from PageModel)
File(Byte[], String)

Returns a file with the specified fileContents as content (Status200OK) and the specified contentType as the Content-Type.

(Inherited from PageModel)
File(Stream, String, String)

Returns a file in the specified fileStream (Status200OK) with the specified contentType as the Content-Type and the specified fileDownloadName as the suggested file name.

(Inherited from PageModel)
File(Stream, String)

Returns a file in the specified fileStream (Status200OK) with the specified contentType as the Content-Type.

(Inherited from PageModel)
File(String, String, String)

Returns the file specified by virtualPath (Status200OK) with the specified contentType as the Content-Type and the specified fileDownloadName as the suggested file name.

(Inherited from PageModel)
File(String, String)

Returns the file specified by virtualPath (Status200OK) with the specified contentType as the Content-Type.

(Inherited from PageModel)
Forbid()

Creates a ForbidResult (Status403Forbidden by default).

(Inherited from PageModel)
Forbid(AuthenticationProperties, String[])

Creates a ForbidResult (Status403Forbidden by default) with the specified authentication schemes and properties.

(Inherited from PageModel)
Forbid(AuthenticationProperties)

Creates a ForbidResult (Status403Forbidden by default) with the specified properties.

(Inherited from PageModel)
Forbid(String[])

Creates a ForbidResult (Status403Forbidden by default) with the specified authentication schemes.

(Inherited from PageModel)
LocalRedirect(String)

Creates a LocalRedirectResult object that redirects (Status302Found) to the specified local localUrl.

(Inherited from PageModel)
LocalRedirectPermanent(String)

Creates a LocalRedirectResult object with Permanent set to true (Status301MovedPermanently) using the specified localUrl.

(Inherited from PageModel)
LocalRedirectPermanentPreserveMethod(String)

Creates a LocalRedirectResult object with Permanent set to true and PreserveMethod set to true (Status308PermanentRedirect) using the specified localUrl.

(Inherited from PageModel)
LocalRedirectPreserveMethod(String)

Creates a LocalRedirectResult object with Permanent set to false and PreserveMethod set to true (Status307TemporaryRedirect) using the specified localUrl.

(Inherited from PageModel)
NotFound()

Creates an NotFoundResult that produces a Status404NotFound response.

(Inherited from PageModel)
NotFound(Object)

Creates an NotFoundObjectResult that produces a Status404NotFound response.

(Inherited from PageModel)
OnGetAsync()

This API supports the ASP.NET Core Identity default UI infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

OnPageHandlerExecuted(PageHandlerExecutedContext)

Called after the handler method executes, before the action result executes.

(Inherited from PageModel)
OnPageHandlerExecuting(PageHandlerExecutingContext)

Called before the handler method executes, after model binding is complete.

(Inherited from PageModel)
OnPageHandlerExecutionAsync(PageHandlerExecutingContext, PageHandlerExecutionDelegate)

Called asynchronously before the handler method is invoked, after model binding is complete.

(Inherited from PageModel)
OnPageHandlerSelected(PageHandlerSelectedContext)

Called after a handler method has been selected, but before model binding occurs.

(Inherited from PageModel)
OnPageHandlerSelectionAsync(PageHandlerSelectedContext)

Called asynchronously after the handler method has been selected, but before model binding occurs.

(Inherited from PageModel)
OnPostAsync()

This API supports the ASP.NET Core Identity default UI infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Page()

Creates a PageResult object that renders the page.

(Inherited from PageModel)
Partial(String, Object)

Creates a PartialViewResult by specifying the name of a partial to render and the model object.

(Inherited from PageModel)
Partial(String)

Creates a PartialViewResult by specifying the name of a partial to render.

(Inherited from PageModel)
PhysicalFile(String, String, String)

Returns the file specified by physicalPath (Status200OK) with the specified contentType as the Content-Type and the specified fileDownloadName as the suggested file name.

(Inherited from PageModel)
PhysicalFile(String, String)

Returns the file specified by physicalPath (Status200OK) with the specified contentType as the Content-Type.

(Inherited from PageModel)
Redirect(String)

Creates a RedirectResult object that redirects (Status302Found) to the specified url.

(Inherited from PageModel)
RedirectPermanent(String)

Creates a RedirectResult object with Permanent set to true (Status301MovedPermanently) using the specified url.

(Inherited from PageModel)
RedirectPermanentPreserveMethod(String)

Creates a RedirectResult object with Permanent set to true and PreserveMethod set to true (Status308PermanentRedirect) using the specified url.

(Inherited from PageModel)
RedirectPreserveMethod(String)

Creates a RedirectResult object with Permanent set to false and PreserveMethod set to true (Status307TemporaryRedirect) using the specified url.

(Inherited from PageModel)
RedirectToAction(String, Object)

Redirects (Status302Found) to the specified action using the actionName and routeValues.

(Inherited from PageModel)
RedirectToAction(String, String, Object, String)

Redirects (Status302Found) to the specified action using the specified actionName, controllerName, routeValues, and fragment.

(Inherited from PageModel)
RedirectToAction(String, String, Object)

Redirects (Status302Found) to the specified action using the specified actionName, controllerName, and routeValues.

(Inherited from PageModel)
RedirectToAction(String, String, String)

Redirects (Status302Found) to the specified action using the specified actionName, controllerName, and fragment.

(Inherited from PageModel)
RedirectToAction(String, String)

Redirects (Status302Found) to the specified action using the actionName and the controllerName.

(Inherited from PageModel)
RedirectToAction(String)

Redirects (Status302Found) to the specified action using the actionName.

(Inherited from PageModel)
RedirectToActionPermanent(String, Object)

Redirects (Status301MovedPermanently) to the specified action with Permanent set to true using the specified actionName and routeValues.

(Inherited from PageModel)
RedirectToActionPermanent(String, String, Object, String)

Redirects (Status301MovedPermanently) to the specified action with Permanent set to true using the specified actionName, controllerName, routeValues, and fragment.

(Inherited from PageModel)
RedirectToActionPermanent(String, String, Object)

Redirects (Status301MovedPermanently) to the specified action with Permanent set to true using the specified actionName, controllerName, and routeValues.

(Inherited from PageModel)
RedirectToActionPermanent(String, String, String)

Redirects (Status301MovedPermanently) to the specified action with Permanent set to true using the specified actionName, controllerName, and fragment.

(Inherited from PageModel)
RedirectToActionPermanent(String, String)

Redirects (Status301MovedPermanently) to the specified action with Permanent set to true using the specified actionName and controllerName.

(Inherited from PageModel)
RedirectToActionPermanent(String)

Redirects (Status301MovedPermanently) to the specified action with Permanent set to true using the specified actionName.

(Inherited from PageModel)
RedirectToActionPermanentPreserveMethod(String, String, Object, String)

Redirects (Status308PermanentRedirect) to the specified action with Permanent set to true and PreserveMethod set to true, using the specified actionName, controllerName, routeValues, and fragment.

(Inherited from PageModel)
RedirectToActionPreserveMethod(String, String, Object, String)

Redirects (Status307TemporaryRedirect) to the specified action with Permanent set to false and PreserveMethod set to true, using the specified actionName, controllerName, routeValues, and fragment.

(Inherited from PageModel)
RedirectToPage()

Redirects (Status302Found) to the current page.

(Inherited from PageModel)
RedirectToPage(Object)

Redirects (Status302Found) to the current page with the specified routeValues.

(Inherited from PageModel)
RedirectToPage(String, Object)

Redirects (Status302Found) to the specified pageName using the specified routeValues.

(Inherited from PageModel)
RedirectToPage(String, String, Object, String)

Redirects (Status302Found) to the specified pageName using the specified routeValues and fragment.

(Inherited from PageModel)
RedirectToPage(String, String, Object)

Redirects (Status302Found) to the specified pageName using the specified pageHandler and routeValues.

(Inherited from PageModel)
RedirectToPage(String, String, String)

Redirects (Status302Found) to the specified pageName using the specified fragment.

(Inherited from PageModel)
RedirectToPage(String, String)

Redirects (Status302Found) to the specified pageName using the specified pageHandler.

(Inherited from PageModel)
RedirectToPage(String)

Redirects (Status302Found) to the specified pageName.

(Inherited from PageModel)
RedirectToPagePermanent(String, Object, String)

Redirects (Status301MovedPermanently) to the specified pageName using the specified fragment.

(Inherited from PageModel)
RedirectToPagePermanent(String, Object)

Redirects (Status301MovedPermanently) to the specified pageName using the specified routeValues.

(Inherited from PageModel)
RedirectToPagePermanent(String, String, Object, String)

Redirects (Status301MovedPermanently) to the specified pageName using the specified routeValues and fragment.

(Inherited from PageModel)
RedirectToPagePermanent(String, String, Object)

Redirects (Status301MovedPermanently) to the specified pageName using the specified routeValues.

(Inherited from PageModel)
RedirectToPagePermanent(String, String, String)

Redirects (Status301MovedPermanently) to the specified pageName using the specified fragment.

(Inherited from PageModel)
RedirectToPagePermanent(String, String)

Redirects (Status301MovedPermanently) to the specified pageName.

(Inherited from PageModel)
RedirectToPagePermanent(String)

Redirects (Status301MovedPermanently) to the specified pageName.

(Inherited from PageModel)
RedirectToPagePermanentPreserveMethod(String, String, Object, String)

Redirects (Status308PermanentRedirect) to the specified route with Permanent set to true and PreserveMethod set to true, using the specified pageName, routeValues, and fragment.

(Inherited from PageModel)
RedirectToPagePreserveMethod(String, String, Object, String)

Redirects (Status307TemporaryRedirect) to the specified page with Permanent set to false and PreserveMethod set to true, using the specified pageName, routeValues, and fragment.

(Inherited from PageModel)
RedirectToRoute(Object)

Redirects (Status302Found) to the specified route using the specified routeValues.

(Inherited from PageModel)
RedirectToRoute(String, Object, String)

Redirects (Status302Found) to the specified route using the specified routeName, routeValues, and fragment.

(Inherited from PageModel)
RedirectToRoute(String, Object)

Redirects (Status302Found) to the specified route using the specified routeName and routeValues.

(Inherited from PageModel)
RedirectToRoute(String, String)

Redirects (Status302Found) to the specified route using the specified routeName and fragment.

(Inherited from PageModel)
RedirectToRoute(String)

Redirects (Status302Found) to the specified route using the specified routeName.

(Inherited from PageModel)
RedirectToRoutePermanent(Object)

Redirects (Status301MovedPermanently) to the specified route with Permanent set to true using the specified routeValues.

(Inherited from PageModel)
RedirectToRoutePermanent(String, Object, String)

Redirects (Status301MovedPermanently) to the specified route with Permanent set to true using the specified routeName, routeValues, and fragment.

(Inherited from PageModel)
RedirectToRoutePermanent(String, Object)

Redirects (Status301MovedPermanently) to the specified route with Permanent set to true using the specified routeName and routeValues.

(Inherited from PageModel)
RedirectToRoutePermanent(String, String)

Redirects (Status301MovedPermanently) to the specified route with Permanent set to true using the specified routeName and fragment.

(Inherited from PageModel)
RedirectToRoutePermanent(String)

Redirects (Status301MovedPermanently) to the specified route with Permanent set to true using the specified routeName.

(Inherited from PageModel)
RedirectToRoutePermanentPreserveMethod(String, Object, String)

Redirects (Status308PermanentRedirect) to the specified route with Permanent set to true and PreserveMethod set to true, using the specified routeName, routeValues, and fragment.

(Inherited from PageModel)
RedirectToRoutePreserveMethod(String, Object, String)

Redirects (Status307TemporaryRedirect) to the specified route with Permanent set to false and PreserveMethod set to true, using the specified routeName, routeValues, and fragment.

(Inherited from PageModel)
SignIn(ClaimsPrincipal, AuthenticationProperties, String)

Creates a SignInResult with the specified authentication scheme and properties.

(Inherited from PageModel)
SignIn(ClaimsPrincipal, String)

Creates a SignInResult with the specified authentication scheme.

(Inherited from PageModel)
SignOut(AuthenticationProperties, String[])

Creates a SignOutResult with the specified authentication schemes and properties.

(Inherited from PageModel)
SignOut(String[])

Creates a SignOutResult with the specified authentication schemes.

(Inherited from PageModel)
StatusCode(Int32, Object)

Creates a ObjectResult object by specifying a statusCode and value

(Inherited from PageModel)
StatusCode(Int32)

Creates a StatusCodeResult object by specifying a statusCode.

(Inherited from PageModel)
TryUpdateModelAsync(Object, Type, String, IValueProvider, Func<ModelMetadata,Boolean>)

Updates the specified model instance using the valueProvider and a name.

(Inherited from PageModel)
TryUpdateModelAsync(Object, Type, String)

Updates the specified model instance using values from the PageModel's current IValueProvider and a name.

(Inherited from PageModel)
TryUpdateModelAsync<TModel>(TModel, String, Expression<Func<TModel,Object>>[])

Updates the specified model instance using values from the PageModel's current IValueProvider and a name.

(Inherited from PageModel)
TryUpdateModelAsync<TModel>(TModel, String, Func<ModelMetadata,Boolean>)

Updates the specified model instance using values from the PageModel's current IValueProvider and a name.

(Inherited from PageModel)
TryUpdateModelAsync<TModel>(TModel, String, IValueProvider, Expression<Func<TModel,Object>>[])

Updates the specified model instance using the valueProvider and a name.

(Inherited from PageModel)
TryUpdateModelAsync<TModel>(TModel, String, IValueProvider, Func<ModelMetadata,Boolean>)

Updates the specified model instance using the valueProvider and a name.

(Inherited from PageModel)
TryUpdateModelAsync<TModel>(TModel, String, IValueProvider)

Updates the specified model instance using the valueProvider and a name.

(Inherited from PageModel)
TryUpdateModelAsync<TModel>(TModel, String)

Updates the specified model instance using values from the PageModel's current IValueProvider.

(Inherited from PageModel)
TryUpdateModelAsync<TModel>(TModel)

Updates the specified model instance using values from the PageModel's current IValueProvider.

(Inherited from PageModel)
TryValidateModel(Object, String)

Validates the specified model instance.

(Inherited from PageModel)
TryValidateModel(Object)

Validates the specified model instance.

(Inherited from PageModel)
Unauthorized()

Creates an UnauthorizedResult that produces an Status401Unauthorized response.

(Inherited from PageModel)
ViewComponent(String, Object)

Creates a ViewComponentResult by specifying the name of a view component to render.

(Inherited from PageModel)
ViewComponent(String)

Creates a ViewComponentResult by specifying the name of a view component to render.

(Inherited from PageModel)
ViewComponent(Type, Object)

Creates a ViewComponentResult by specifying the Type of a view component to render.

(Inherited from PageModel)
ViewComponent(Type)

Creates a ViewComponentResult by specifying the Type of a view component to render.

(Inherited from PageModel)

Applies to