Search Results for

    Show / Hide Table of Contents

    Class DataPortAuthClient

    Cloud api client. Login should be done before calling any other endpoint.

    Inheritance
    System.Object
    DataPortClientBase
    DataPortAuthClient
    Implements
    System.IDisposable
    Inherited Members
    DataPortClientBase.DefaultUrl
    DataPortClientBase.Dispose()
    DataPortClientBase.PostAsync<T, I>(String, String, String, I)
    DataPortClientBase.DeleteAsync<T>(String, String, String, IDictionary<String, String>)
    DataPortClientBase.GetAsync<T>(String, String, String, IDictionary<String, String>)
    DataPortClientBase.PostMultipartAsync(String, String, String, Byte[], IDictionary<String, String>)
    DataPortClientBase.HttpClient
    DataPortClientBase.User
    DataPortClientBase.Url
    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 Source

    DataPortAuthClient()

    Initialize new client.

    Declaration
    public DataPortAuthClient()
    | Improve this Doc View Source

    DataPortAuthClient(DataPortClient)

    Initialize client and inherit the authentication

    Declaration
    public DataPortAuthClient(DataPortClient client)
    Parameters
    Type Name Description
    DataPortClient client

    Client instance

    | Improve this Doc View Source

    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 Source

    LoginAsync(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 email

    User account mail address

    System.String password

    User account password

    Returns
    Type Description
    System.Threading.Tasks.Task<DataPortUser>

    Instance of if login was successful

    Implements

    System.IDisposable
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx