Class TheIdentityHubAuthenticationBuilderExtensions
Inheritance
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
Declaration
public static AuthenticationBuilder AddTheIdentityHubAuthentication(this AuthenticationBuilder builder, Action<TheIdentityHubOptions> configureOptions)
Parameters
Type | Name | Description |
---|---|---|
AuthenticationBuilder | builder | The |
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
Declaration
public static AuthenticationBuilder AddTheIdentityHubAuthentication(this AuthenticationBuilder builder, string displayName, Action<TheIdentityHubOptions> configureOptions)
Parameters
Type | Name | Description |
---|---|---|
AuthenticationBuilder | builder | The |
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
Declaration
public static AuthenticationBuilder AddTheIdentityHubOAuthBearer(this AuthenticationBuilder builder, Action<TheIdentityHubOAuthBearerOptions> configureOptions)
Parameters
Type | Name | Description |
---|---|---|
AuthenticationBuilder | builder | The |
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
Declaration
public static AuthenticationBuilder AddTheIdentityHubOAuthBearer(this AuthenticationBuilder builder, string displayName, Action<TheIdentityHubOAuthBearerOptions> configureOptions)
Parameters
Type | Name | Description |
---|---|---|
AuthenticationBuilder | builder | The |
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. |