C# Class iRLeagueManager.Data.UserDatabaseClient

Inheritance: IUserDatabaseClient
显示文件 Open project: SSchulze1989/iRLeagueManager Class Usage Examples

Public Methods

Method Description
AddUserAsync ( AddUserDTO user ) : Task
AuthenticateUserAsync ( string userName, string password ) : Task
ChangePassword ( string userName, string oldPw, AddUserDTO user ) : Task
Dispose ( ) : void
GetUserAsync ( string UserId ) : Task
PutUserAsync ( UserProfileDTO user ) : Task
UserDatabaseClient ( Uri baseUri ) : iRLeagueManager.Models.User
UserDatabaseClient ( Uri baseUri, ICredentials credentials ) : iRLeagueManager.Models.User

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
SetCredentials ( ICredentials credentials ) : void

Method Details

AddUserAsync() public method

public AddUserAsync ( AddUserDTO user ) : Task
user AddUserDTO
return Task

AuthenticateUserAsync() public method

public AuthenticateUserAsync ( string userName, string password ) : Task
userName string
password string
return Task

ChangePassword() public method

public ChangePassword ( string userName, string oldPw, AddUserDTO user ) : Task
userName string
oldPw string
user AddUserDTO
return Task

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetUserAsync() public method

public GetUserAsync ( string UserId ) : Task
UserId string
return Task

PutUserAsync() public method

public PutUserAsync ( UserProfileDTO user ) : Task
user UserProfileDTO
return Task

UserDatabaseClient() public method

public UserDatabaseClient ( Uri baseUri ) : iRLeagueManager.Models.User
baseUri Uri
return iRLeagueManager.Models.User

UserDatabaseClient() public method

public UserDatabaseClient ( Uri baseUri, ICredentials credentials ) : iRLeagueManager.Models.User
baseUri Uri
credentials ICredentials
return iRLeagueManager.Models.User