C# Class Bzs.Server.ServerService.AccountServerService

Represents an account server service.
Inheritance: ServerServiceBase
Afficher le fichier Open project: romankmueller/SchoolPlanner Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Initializes a new instance of the AccountServerService class.
public AccountServerService ( ) : System
Résultat System

GetAccountId() public méthode

Returns the account identifier.
public GetAccountId ( string account ) : System.Guid
account string The account.
Résultat System.Guid

Login() public méthode

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

Register() public méthode

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

RetrieveCredentials() public méthode

Retrieves the credentials.
public RetrieveCredentials ( string email ) : void
email string The email address.
Résultat void