Interface ILoginService
Inherited Members
Namespace: Rebus
Assembly: Rebus.dll
Syntax
public interface ILoginService : IDisposable
Methods
LoginAsync(String, String)
Declaration
Task<int> LoginAsync(string name, string password)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name | |
| String | password |
Returns
| Type | Description |
|---|---|
| Task<Int32> |
RegisterAsync(String, String)
Declaration
Task<int> RegisterAsync(string name, string password)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name | |
| String | password |
Returns
| Type | Description |
|---|---|
| Task<Int32> |