Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies whether the user has an email set.
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Syntax
public override Task<bool> IsValidProviderForUserAsync(
UserManager<TUser, TKey> manager,
TUser user
)
public:
virtual Task<bool>^ IsValidProviderForUserAsync(
UserManager<TUser, TKey>^ manager,
TUser user
) override
override IsValidProviderForUserAsync :
manager:UserManager<'TUser, 'TKey> *
user:'TUser -> Task<bool>
Public Overrides Function IsValidProviderForUserAsync (
manager As UserManager(Of TUser, TKey),
user As TUser
) As Task(Of Boolean)
Parameters
manager
Type: Microsoft.AspNet.Identity.UserManager<TUser, TKey>The user manager.
user
Type: TUserThe user.
Return Value
Type: System.Threading.Tasks.Task<Boolean>
true if the user has an email set; otherwise, false.
Implements
IUserTokenProvider<TUser, TKey>.IsValidProviderForUserAsync(UserManager<TUser, TKey>, TUser)
See Also
EmailTokenProvider<TUser, TKey> Class
Microsoft.AspNet.Identity Namespace
ASP.NET Identity
Return to top