Show / Hide Table of Contents

    Class DanglIdentityClientCredentialsLoginHandler

    This handler manages obtaining tokens from Dangl.Identity via the ClientCredentialsGrant

    Inheritance
    System.Object
    DanglIdentityClientCredentialsLoginHandler
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Dangl.Identity.Client
    Assembly: Dangl.Identity.Client.dll
    Syntax
    public class DanglIdentityClientCredentialsLoginHandler

    Constructors

    | Improve this Doc View Source

    DanglIdentityClientCredentialsLoginHandler(IDanglIdentityConfig, HttpClient, ILoggerFactory)

    This handler manages obtaining tokens from Dangl.Identity via the ClientCredentialsGrant

    Declaration
    public DanglIdentityClientCredentialsLoginHandler(IDanglIdentityConfig config, HttpClient httpClient, ILoggerFactory loggerFactory = null)
    Parameters
    Type Name Description
    IDanglIdentityConfig config
    System.Net.Http.HttpClient httpClient
    Microsoft.Extensions.Logging.ILoggerFactory loggerFactory

    Methods

    | Improve this Doc View Source

    GetTokenResponse(String)

    This tries to get a new Jwt token via the ClientCredentials grant. In case of network failure, it will attempt to get a token from the fallback source

    Declaration
    public Task<TokenResponse> GetTokenResponse(string requiredScope = null)
    Parameters
    Type Name Description
    System.String requiredScope
    Returns
    Type Description
    System.Threading.Tasks.Task<IdentityModel.Client.TokenResponse>
    • Improve this Doc
    • View Source
    Back to top © Dangl IT GmbH