Class RegisterModel
Inheritance
RegisterModel
Assembly: Volo.Abp.Account.Web.dll
Syntax
public class RegisterModel : AccountPageModel, IAsyncPageFilter, IPageFilter, IFilterMetadata
Constructors
RegisterModel(IAccountAppService, IAuthenticationSchemeProvider, IOptions<AbpAccountOptions>, IdentityDynamicClaimsPrincipalContributorCache)
Declaration
public RegisterModel(IAccountAppService accountAppService, IAuthenticationSchemeProvider schemeProvider, IOptions<AbpAccountOptions> accountOptions, IdentityDynamicClaimsPrincipalContributorCache identityDynamicClaimsPrincipalContributorCache)
Parameters
Properties
AccountOptions
Declaration
protected AbpAccountOptions AccountOptions { get; }
Property Value
EnableLocalRegister
Declaration
public bool EnableLocalRegister { get; set; }
Property Value
ExternalLoginAuthSchema
Declaration
[BindProperty(SupportsGet = true)]
public string ExternalLoginAuthSchema { get; set; }
Property Value
ExternalLoginScheme
Declaration
public string ExternalLoginScheme { get; }
Property Value
ExternalProviders
Declaration
public IEnumerable<RegisterModel.ExternalProviderModel> ExternalProviders { get; set; }
Property Value
IdentityDynamicClaimsPrincipalContributorCache
Declaration
protected IdentityDynamicClaimsPrincipalContributorCache IdentityDynamicClaimsPrincipalContributorCache { get; }
Property Value
Input
Declaration
[BindProperty]
public RegisterModel.PostInput Input { get; set; }
Property Value
IsExternalLogin
Declaration
[BindProperty(SupportsGet = true)]
public bool IsExternalLogin { get; set; }
Property Value
IsExternalLoginOnly
Declaration
public bool IsExternalLoginOnly { get; }
Property Value
ReturnUrl
Declaration
[BindProperty(SupportsGet = true)]
public string ReturnUrl { get; set; }
Property Value
ReturnUrlHash
Declaration
[BindProperty(SupportsGet = true)]
public string ReturnUrlHash { get; set; }
Property Value
SchemeProvider
Declaration
protected IAuthenticationSchemeProvider SchemeProvider { get; }
Property Value
VisibleExternalProviders
Declaration
public IEnumerable<RegisterModel.ExternalProviderModel> VisibleExternalProviders { get; }
Property Value
Methods
CheckSelfRegistrationAsync()
Declaration
protected virtual Task<bool> CheckSelfRegistrationAsync()
Returns
GetExternalProviders()
Declaration
protected virtual Task<List<RegisterModel.ExternalProviderModel>> GetExternalProviders()
Returns
OnGetAsync()
Declaration
public virtual Task<IActionResult> OnGetAsync()
Returns
OnPostAsync()
Declaration
public virtual Task<IActionResult> OnPostAsync()
Returns
OnPostExternalLogin(string)
Declaration
protected virtual Task<IActionResult> OnPostExternalLogin(string provider)
Parameters
| Type |
Name |
Description |
| string |
provider |
|
Returns
RegisterExternalUserAsync(ExternalLoginInfo, string, string)
Declaration
protected virtual Task RegisterExternalUserAsync(ExternalLoginInfo externalLoginInfo, string userName, string emailAddress)
Parameters
Returns
RegisterLocalUserAsync()
Declaration
protected virtual Task RegisterLocalUserAsync()
Returns
TrySetEmailAsync()
Declaration
protected virtual Task TrySetEmailAsync()
Returns
Implements
Extension Methods