C# Class Sequencing.WeatherApp.Controllers.UserAuthWorker

User authentication worker - stores/retrieves it from data source
Mostrar archivo Open project: SequencingDOTcom/Weather-My-Way-RTP-app Class Usage Examples

Public Methods

Method Description
CreateNewUserToken ( TokenInfo info ) : UserInfo

Creates new entry

GetCurrent ( ) : UserInfo

Returns logged in user data

UpdateToken ( UserInfo ui ) : UserInfo

Updates entry

UserAuthWorker ( ) : System
UserAuthWorker ( string userNameOvr ) : System

Method Details

CreateNewUserToken() public method

Creates new entry
public CreateNewUserToken ( TokenInfo info ) : UserInfo
info TokenInfo
return UserInfo

GetCurrent() public method

Returns logged in user data
public GetCurrent ( ) : UserInfo
return UserInfo

UpdateToken() public method

Updates entry
public UpdateToken ( UserInfo ui ) : UserInfo
ui UserInfo
return UserInfo

UserAuthWorker() public method

public UserAuthWorker ( ) : System
return System

UserAuthWorker() public method

public UserAuthWorker ( string userNameOvr ) : System
userNameOvr string
return System