Method | Description | |
---|---|---|
AuthService ( IServiceProvider serviceProvider ) : DotNetClub.Core.Model.Auth | ||
IsEmailRegistered ( string email ) : Task |
||
IsUserNameRegistered ( string userName ) : Task |
||
LogOut ( ) : void | ||
Login ( |
||
Register ( |
Method | Description | |
---|---|---|
ComputeNewToken ( ) : string | ||
GenerateAndStoreToken ( long userID, bool rememberPassword ) : string |
public AuthService ( IServiceProvider serviceProvider ) : DotNetClub.Core.Model.Auth | ||
serviceProvider | IServiceProvider | |
return | DotNetClub.Core.Model.Auth |
public IsEmailRegistered ( string email ) : Task |
||
string | ||
return | Task |
public IsUserNameRegistered ( string userName ) : Task |
||
userName | string | |
return | Task |
public Login ( |
||
model | ||
return | Task |
public Register ( |
||
model | ||
return | Task |