Show / Hide Table of Contents

    Class OpenIdExtensions

    This configures OpenId with Dangl.Identity as OpenId authority.

    Inheritance
    System.Object
    OpenIdExtensions
    Namespace: Dangl.Identity.Client.Mvc
    Assembly: Dangl.Identity.Client.Mvc.dll
    Syntax
    public static class OpenIdExtensions : object

    Fields

    | Improve this Doc View Source

    HTTP_CLIENT_FACTORY_CLIENT_NAME

    This is an internal name used when managing the lifetime of HttpClients for internal token refreshing

    Declaration
    public const string HTTP_CLIENT_FACTORY_CLIENT_NAME = null
    Field Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    AddDanglIdentityOpenId(IServiceCollection, IDanglIdentityConfig, HttpMessageHandler, Boolean, String)

    This configures OpenId with Dangl.Identity as OpenId authority.

    Declaration
    public static AuthenticationBuilder AddDanglIdentityOpenId(this IServiceCollection services, IDanglIdentityConfig danglIdentityConfig, HttpMessageHandler backChannelMessageHandler = null, bool addCookieAuth = true, string customCookieName = null)
    Parameters
    Type Name Description
    IServiceCollection services
    IDanglIdentityConfig danglIdentityConfig
    HttpMessageHandler backChannelMessageHandler
    System.Boolean addCookieAuth

    If false, no cookie authentication will be added. Use this if cookie authentication is added elsewhere, e.g. by Asp.Net Identity

    System.String customCookieName

    If given, this cookie name will be used for the authentication cookie

    Returns
    Type Description
    AuthenticationBuilder
    • Improve this Doc
    • View Source
    Back to top © Dangl IT GmbH