Class OpenIdExtensions
This configures OpenId with Dangl.Identity as OpenId authority.
Inheritance
System.Object
OpenIdExtensions
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.Mvc
Assembly: Dangl.Identity.Client.Mvc.dll
Syntax
public static class OpenIdExtensions
Methods
| Improve this Doc View SourceAddDanglIdentityOpenId(IServiceCollection, IDanglIdentityConfig, HttpMessageHandler, Boolean)
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)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.DependencyInjection.IServiceCollection | services | |
IDanglIdentityConfig | danglIdentityConfig | |
System.Net.Http.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 |
Returns
Type | Description |
---|---|
Microsoft.AspNetCore.Authentication.AuthenticationBuilder |