Метод | Описание | |
---|---|---|
Authorize ( string email, |
||
Authorizer ( System.TimeSpan tokenLifeTime, IUserRepository userRepository ) : Common.System | ||
GetTokenInfo ( string authorizationToken ) : |
Метод | Описание | |
---|---|---|
GenerateNewToken ( Account account ) : |
||
TakeTokenByUserId ( int userId ) : |
public Authorize ( string email, |
||
string | ||
password | ||
Результат |
public Authorizer ( System.TimeSpan tokenLifeTime, IUserRepository userRepository ) : Common.System | ||
tokenLifeTime | System.TimeSpan | |
userRepository | IUserRepository | |
Результат | Common.System |
public GetTokenInfo ( string authorizationToken ) : |
||
authorizationToken | string | |
Результат |