Class DataPortAuthClient
Cloud api client. Login should be done before calling any other endpoint.
Implements
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.Framework.Flow.DataPort
Assembly: Simplic.Framework.Flow.dll
Syntax
public class DataPortAuthClient : DataPortClientBase, IDisposable
Constructors
| Improve this Doc View SourceDataPortAuthClient()
Initialize new client.
Declaration
public DataPortAuthClient()
DataPortAuthClient(DataPortClient)
Initialize client and inherit the authentication
Declaration
public DataPortAuthClient(DataPortClient client)
Parameters
Type | Name | Description |
---|---|---|
DataPortClient | client | Client instance |
DataPortAuthClient(String)
Initialize client with different url.
Declaration
public DataPortAuthClient(string url)
Parameters
Type | Name | Description |
---|---|---|
System.String | url | Unique url |
Methods
| Improve this Doc View SourceLoginAsync(String, String)
Login into the a user account. The session will be stored in the current client instance.
Declaration
public async Task<DataPortUser> LoginAsync(string email, string password)
Parameters
Type | Name | Description |
---|---|---|
System.String | User account mail address |
|
System.String | password | User account password |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DataPortUser> | Instance of |
Implements
System.IDisposable