Class BackOfficeUserValidator<T>
Inheritance
object
UserValidator<T>
Namespace: Umbraco.Cms.Core.Security
Assembly: Umbraco.Infrastructure.dll
Syntax
public class BackOfficeUserValidator<T> : UserValidator<T> where T : BackOfficeIdentityUser
Type Parameters
| Name | Description |
|---|---|
| T |
Methods
View SourceValidateAsync(UserManager<T>, T)
Validates the specified user as an asynchronous operation.
Declaration
public override Task<IdentityResult> ValidateAsync(UserManager<T> manager, T user)
Parameters
| Type | Name | Description |
|---|---|---|
| UserManager<T> | manager | The Microsoft.AspNetCore.Identity.UserManager<TUser> that can be used to retrieve user properties. |
| T | user | The user to validate. |
Returns
| Type | Description |
|---|---|
| Task<IdentityResult> | The System.Threading.Tasks.Task that represents the asynchronous operation, containing the Microsoft.AspNetCore.Identity.IdentityResult of the validation operation. |