Class UmbracoUserConfirmation<TUser>
Confirms whether a user is approved or not
Inheritance
object
DefaultUserConfirmation<TUser>
Namespace: Umbraco.Cms.Core.Security
Assembly: Umbraco.Infrastructure.dll
Syntax
public class UmbracoUserConfirmation<TUser> : DefaultUserConfirmation<TUser> where TUser : UmbracoIdentityUser
Type Parameters
| Name | Description |
|---|---|
| TUser |
Methods
View SourceIsConfirmedAsync(UserManager<TUser>, TUser)
Determines whether the specified user is confirmed.
Declaration
public override Task<bool> IsConfirmedAsync(UserManager<TUser> manager, TUser user)
Parameters
| Type | Name | Description |
|---|---|---|
| UserManager<TUser> | manager | The Microsoft.AspNetCore.Identity.UserManager<TUser> that can be used to retrieve user properties. |
| TUser | user | The user. |
Returns
| Type | Description |
|---|---|
| Task<bool> | The System.Threading.Tasks.Task that represents the asynchronous operation, containing the Microsoft.AspNetCore.Identity.IdentityResult of the confirmation operation. |