mirror of https://github.com/abpframework/abp.git
2 changed files with 19 additions and 8 deletions
@ -0,0 +1,16 @@ |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Volo.Abp.Identity.AspNetCore |
|||
{ |
|||
public abstract class ExternalLoginProviderBase : IExternalLoginProvider |
|||
{ |
|||
public abstract Task<bool> TryAuthenticateAsync(string userName, string plainPassword); |
|||
|
|||
public abstract Task<IdentityUser> CreateUserAsync(string userName); |
|||
|
|||
public virtual Task UpdateUserAsync(IdentityUser user) |
|||
{ |
|||
return Task.CompletedTask; |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue