AccountController Class

Namespace:
Weavy.Web.Controllers
Assembly:
Weavy.Web.dll

Controller for managing user accounts.

public class AccountController : WeavyController
Inheritance:
System.Object → WeavyControllerAccountController

Constructors

AccountController()

Methods

AddWindows() Display form for adding a windows account to an existing local user.
AddWindows(RegisterWindowsModel) Add a windows account to an existing local user.
Confirm(String) Display form for confirming email adress.
Confirm(String, ConfirmationModel) Confirm email adress.
CreateUserWithWindowsLogin() Create a local account for the current windows user.
EditAccount() Display form for editing the account for the current user.
EditPassword() Display form for changing password for the current user.
EditProfile() Display form for editing the user profile for the current user.
EditSettings() Display form for editing notification settings for the current user.
LinkLogin(LinkLoginModel) Associate an external login with an existing user.
MSOFBA() Page to display after successful authentication with MS-OFBA.
Notify() A view that notifies the parent window when a user signs in / signs out.
RecoverPassword() Display form for recovering lost login information.
RecoverPassword(PasswordRecoveryModel) Send password recovery email.
Register(String) Display form for registering a new account.
Register(String, RegisterModel) Register a new account.
RegisterWindows() Display form for connecting a windows account with a local account.
RemoveLogin(Int32) Remove a linked account from the current user.
ResetPassword(PasswordResetModel) Reset password.
ResetPassword(String) Display form for resetting password.
SignIn(SignInModel, String) Sign in with forms authentication against local or AD account.
SignIn(String) Display sign in form.
SignInExternal(String, String) Request a redirect to the external login provider.
SignInExternalCallback(String) Callback method when signing in via external login provider.
SignInToken(SignInTokenModel) Sign in with JSON Web Token.
SignOut(String) Sign out, then redirect to sign in screen.
SignUp() Display sign up form.
SignUp(SignUpModel) Send email with confirmation code.
UpdateAccount(AccountModel) Updates account info for the current user.
UpdatePassword(PasswordModel) Change password for the current user.
UpdateProfile() Updates profile for the current user.
UpdateSettings(UserSettings) Updates user settings for the current user.

Extension Methods

IsNullOrDefault(T) Gets a value indicating if the specified value has the default value of the generic type.
Serialize(Object) Serializes an object, or graph of connected objects, to a byte array.
SerializeToJson(Object, Nullable, JsonSerializerSettings) Serializes an object, or graph of connected objects, to a json string.
IsValid(Object) Determines whether the specified object is valid by evaluating each ValidationAttribute instance that is attached to the object type.