Show / Hide Table of Contents

    Interface IUserInfoUpdater

    Handles user updating from Jwt tokens

    Namespace: Dangl.Identity.Client.Mvc.Services
    Assembly: Dangl.Identity.Client.Mvc.dll
    Syntax
    public interface IUserInfoUpdater

    Methods

    | Improve this Doc View Source

    UpdateUserInfoAsync(String)

    Deserializes a jwt token and updates user information in the Asp.Net Identity user store

    Declaration
    Task UpdateUserInfoAsync(string jwtToken)
    Parameters
    Type Name Description
    System.String jwtToken
    Returns
    Type Description
    System.Threading.Tasks.Task
    | Improve this Doc View Source

    UpdateUserInfoFromClientHeadersAsync(UserInfoUpdaterDto)

    This ensures that user data that is transmitted via OAuth2 clients in service-to-service scenarios is updates locally. UserData will be cached for one hour until it is re-evaluated. No roles will be created in this way.

    Declaration
    Task UpdateUserInfoFromClientHeadersAsync(UserInfoUpdaterDto userDto)
    Parameters
    Type Name Description
    UserInfoUpdaterDto userDto
    Returns
    Type Description
    System.Threading.Tasks.Task

    Extension Methods

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