C# Class Bzs.Server.ServerService.AccountServerService

Represents an account server service.
Inheritance: ServerServiceBase
Datei anzeigen Open project: romankmueller/SchoolPlanner Class Usage Examples

Public Methods

Method Description
AccountServerService ( ) : System

Initializes a new instance of the AccountServerService class.

GetAccountId ( string account ) : System.Guid

Returns the account identifier.

Login ( string account, string password ) : LoginResultDto

Returns the login result.

Register ( RegisterDto data ) : ResultDto

Registers the data.

RetrieveCredentials ( string email ) : void

Retrieves the credentials.

Method Details

AccountServerService() public method

Initializes a new instance of the AccountServerService class.
public AccountServerService ( ) : System
return System

GetAccountId() public method

Returns the account identifier.
public GetAccountId ( string account ) : System.Guid
account string The account.
return System.Guid

Login() public method

Returns the login result.
public Login ( string account, string password ) : LoginResultDto
account string The account.
password string The password.
return Bzs.Portable.DataTransferObjects.Authentication.LoginResultDto

Register() public method

Registers the data.
public Register ( RegisterDto data ) : ResultDto
data Bzs.Portable.DataTransferObjects.Account.RegisterDto The data to register.
return Bzs.Portable.DataTransferObjects.Base.ResultDto

RetrieveCredentials() public method

Retrieves the credentials.
public RetrieveCredentials ( string email ) : void
email string The email address.
return void