C# Класс Bzs.Server.ServerService.AccountServerService

Represents an account server service.
Наследование: ServerServiceBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

AccountServerService() публичный Метод

Initializes a new instance of the AccountServerService class.
public AccountServerService ( ) : System
Результат System

GetAccountId() публичный Метод

Returns the account identifier.
public GetAccountId ( string account ) : System.Guid
account string The account.
Результат System.Guid

Login() публичный Метод

Returns the login result.
public Login ( string account, string password ) : LoginResultDto
account string The account.
password string The password.
Результат Bzs.Portable.DataTransferObjects.Authentication.LoginResultDto

Register() публичный Метод

Registers the data.
public Register ( RegisterDto data ) : ResultDto
data Bzs.Portable.DataTransferObjects.Account.RegisterDto The data to register.
Результат Bzs.Portable.DataTransferObjects.Base.ResultDto

RetrieveCredentials() публичный Метод

Retrieves the credentials.
public RetrieveCredentials ( string email ) : void
email string The email address.
Результат void