public IDataResult <AccessToken> CreateAccessTokenForUser(User user) { var accessToken = _tokenHelper.CreateTokenForUser(user); return(new SuccessDataResult <AccessToken>(accessToken, SecurityMessages.LoginSuccessful)); }
public IDataResult <AccessToken> CreateAccessTokenForUser(User user) { var accessToken = _tokenHelper.CreateTokenForUser(user); return(new SuccessDataResult <AccessToken>(accessToken, SecurityMessages.LoginSuccessful)); }