Search Results for

    Show / Hide Table of Contents

    Class TheIdentityHubAuthenticationBuilderExtensions

    Inheritance
    System.Object
    TheIdentityHubAuthenticationBuilderExtensions
    Namespace: TheIdentityHub.AspNetCore.Authentication
    Assembly: TheIdentityHub.AspNetCore.Authentication.dll
    Syntax
    public static class TheIdentityHubAuthenticationBuilderExtensions : object

    Methods

    AddTheIdentityHubAuthentication(AuthenticationBuilder, Action<TheIdentityHubOptions>)

    Adds the TheIdentityHub.AspNetCore.Authentication.TheIdentityHubHandler handler to the specified , which enables The Identity Hub authentication capabilities.

    Declaration
    public static AuthenticationBuilder AddTheIdentityHubAuthentication(this AuthenticationBuilder builder, Action<TheIdentityHubOptions> configureOptions)
    Parameters
    Type Name Description
    AuthenticationBuilder builder

    The to add the handler to.

    Action<TheIdentityHubOptions> configureOptions

    An action to configure the TheIdentityHubOptions instance that specifies options for the handler.

    Returns
    Type Description
    AuthenticationBuilder

    A reference to this instance after the operation has completed.

    AddTheIdentityHubAuthentication(AuthenticationBuilder, String, Action<TheIdentityHubOptions>)

    Adds the TheIdentityHub.AspNetCore.Authentication.TheIdentityHubHandler handler to the specified , which enables The Identity Hub authentication capabilities.

    Declaration
    public static AuthenticationBuilder AddTheIdentityHubAuthentication(this AuthenticationBuilder builder, string displayName, Action<TheIdentityHubOptions> configureOptions)
    Parameters
    Type Name Description
    AuthenticationBuilder builder

    The to add the handler to.

    System.String displayName
    Action<TheIdentityHubOptions> configureOptions

    An action to configure the TheIdentityHubOptions instance that specifies options for the handler.

    Returns
    Type Description
    AuthenticationBuilder

    A reference to this instance after the operation has completed.

    AddTheIdentityHubOAuthBearer(AuthenticationBuilder, Action<TheIdentityHubOAuthBearerOptions>)

    Adds the TheIdentityHubOAuthBearerHandler handler to the specified , which enables The Identity Hub authentication OAuth Bearer capabilities.

    Declaration
    public static AuthenticationBuilder AddTheIdentityHubOAuthBearer(this AuthenticationBuilder builder, Action<TheIdentityHubOAuthBearerOptions> configureOptions)
    Parameters
    Type Name Description
    AuthenticationBuilder builder

    The to add the handler to.

    Action<TheIdentityHubOAuthBearerOptions> configureOptions

    A TheIdentityHubOAuthBearerOptions that specifies options for the handler.

    Returns
    Type Description
    AuthenticationBuilder

    A reference to this instance after the operation has completed.

    AddTheIdentityHubOAuthBearer(AuthenticationBuilder, String, Action<TheIdentityHubOAuthBearerOptions>)

    Adds the TheIdentityHubOAuthBearerHandler handler to the specified , which enables The Identity Hub authentication OAuth Bearer capabilities.

    Declaration
    public static AuthenticationBuilder AddTheIdentityHubOAuthBearer(this AuthenticationBuilder builder, string displayName, Action<TheIdentityHubOAuthBearerOptions> configureOptions)
    Parameters
    Type Name Description
    AuthenticationBuilder builder

    The to add the handler to.

    System.String displayName
    Action<TheIdentityHubOAuthBearerOptions> configureOptions

    A TheIdentityHubOAuthBearerOptions that specifies options for the handler.

    Returns
    Type Description
    AuthenticationBuilder

    A reference to this instance after the operation has completed.

    In This Article