Show / Hide Table of Contents

Class ExternalProvider

Represents an external authentication provider.

Inheritance
Object
ExternalProvider
SocialProvider
TenantProvider
WindowsProvider
Inherited Members
Object.Equals(Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: IRM.AspNetCore.Identity
Assembly: IRM.AspNetCore.Identity.dll
Syntax
public abstract class ExternalProvider

Constructors

ExternalProvider(String, String)

Initializes a new instance of ExternalProvider.

Declaration
protected ExternalProvider(string displayName, string authenticationScheme)
Parameters
String displayName

The display name for the authentication.

String authenticationScheme

The name used to reference the authentication middelware instance.

Properties

AllowedForAutoprovision

Gets or sets if the provider is allowed to be used for auto-provision of user.

Declaration
public bool AllowedForAutoprovision { get; set; }
Property Value
Boolean

AuthenticationScheme

Gets the name used to reference the authentication middelware instance.

Declaration
public string AuthenticationScheme { get; }
Property Value
String

Remarks

The value can include '@' followed by a tenant id to uniqely identify this provider for a specific tenant. LoginProvider can be used as the "pure" authentication scheme instead since it will return the value before '@'.

DisplayName

Gets or sets the display name for the authentication.

Declaration
public string DisplayName { get; }
Property Value
String

LoginProvider

Gets the login provider part of AuthenticationScheme.

Declaration
public string LoginProvider { get; }
Property Value
String

Back to top Generated by DocFX