Search Results for

    Show / Hide Table of Contents

    Interface ILoginService

    Namespace: LemonEdge.Client.Core.Authentication
    Assembly: LemonEdge.ClientCore.dll
    Syntax
    public interface ILoginService

    Methods

    LoginAsync(IConnector, ConnectionProfile, string, string, string, CancellationToken)

    Performs the login action for the given connection profile (i.e. ConnectionType and ILoginProvider)

    Declaration
    Task<UserInfo> LoginAsync(IConnector connector, ConnectionProfile connectionProfile, string username, string password, string dbPassword = "", CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    IConnector connector
    ConnectionProfile connectionProfile
    string username
    string password
    string dbPassword
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<UserInfo>

    A valid UserInfo if the login was successful, otherwise null

    UpdateNotifier(IStatusNotifier)

    When the service provider is rebuilt we get a new notifier that isn't actuall hooked up to the UI. This allows us to provide the current notifier that is still hooked up to the ui

    Declaration
    void UpdateNotifier(IStatusNotifier notifier)
    Parameters
    Type Name Description
    IStatusNotifier notifier

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.