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 |
Constructors
View SourceUmbracoUserConfirmation()
Declaration
public UmbracoUserConfirmation()
Methods
View SourceIsConfirmedAsync(UserManager<TUser>, TUser)
Determines asynchronously whether the specified user has been confirmed, based on the user's IsApproved property.
Declaration
public override Task<bool> IsConfirmedAsync(UserManager<TUser> manager, TUser user)
Parameters
| Type | Name | Description |
|---|---|---|
| UserManager<TUser> | manager | The user manager instance. |
| TUser | user | The user whose confirmation status is being checked. |
Returns
| Type | Description |
|---|---|
| Task<bool> | A task that represents the asynchronous operation. The task result contains |