Show / Hide Table of Contents

    Class DanglIdentityAspNetIdentityLoginHandler

    This is an extension of the DanglIdentityLoginHandler which additionally uses a IUserInfoUpdater to update user information in a local database

    Inheritance
    System.Object
    DanglIdentityLoginHandler
    DanglIdentityAspNetIdentityLoginHandler
    Implements
    IDanglIdentityAspNetIdentityLoginHandler
    Inherited Members
    DanglIdentityLoginHandler.LoginAsync(String, String)
    DanglIdentityLoginHandler.RefreshAsync(String)
    Namespace: Dangl.Identity.Client.Mvc
    Assembly: Dangl.Identity.Client.Mvc.dll
    Syntax
    public class DanglIdentityAspNetIdentityLoginHandler : DanglIdentityLoginHandler, IDanglIdentityAspNetIdentityLoginHandler

    Constructors

    | Improve this Doc View Source

    DanglIdentityAspNetIdentityLoginHandler(IDanglIdentityConfig, IUserInfoUpdater, DanglIdentityHttpClientAccessor, ILoggerFactory)

    This is an extension of the DanglIdentityLoginHandler which additionally uses a IUserInfoUpdater to update user information in a local database

    Declaration
    public DanglIdentityAspNetIdentityLoginHandler(IDanglIdentityConfig options, IUserInfoUpdater userInfoUpdater, DanglIdentityHttpClientAccessor danglIdentityHttpClientAccessor, ILoggerFactory loggerFactory = null)
    Parameters
    Type Name Description
    IDanglIdentityConfig options
    IUserInfoUpdater userInfoUpdater
    DanglIdentityHttpClientAccessor danglIdentityHttpClientAccessor
    ILoggerFactory loggerFactory

    Methods

    | Improve this Doc View Source

    LoginAndUpdateUserDetailsAsync(String, String)

    Will login and update the user

    Declaration
    public Task<TokenResponse> LoginAndUpdateUserDetailsAsync(string identifier, string password)
    Parameters
    Type Name Description
    System.String identifier
    System.String password
    Returns
    Type Description
    Task<TokenResponse>
    | Improve this Doc View Source

    RefreshAndUpdateUserDetailsAsync(String)

    Will refresh the user via the refresh token and update the user

    Declaration
    public Task<TokenResponse> RefreshAndUpdateUserDetailsAsync(string refreshToken)
    Parameters
    Type Name Description
    System.String refreshToken
    Returns
    Type Description
    Task<TokenResponse>

    Implements

    IDanglIdentityAspNetIdentityLoginHandler

    Extension Methods

    ObjectExtensions.Clone<T>(T)
    • Improve this Doc
    • View Source
    Back to top © Dangl IT GmbH