AuthenticationDescription Class

Contains information describing an authentication provider.

Namespace
Microsoft.AspNetCore.Http.Authentication
Assemblies
  • Microsoft.AspNetCore.Http.Abstractions

Syntax

public class AuthenticationDescription
class Microsoft.AspNetCore.Http.Authentication.AuthenticationDescription

Constructors

AuthenticationDescription()

Initializes a new instance of the Microsoft.AspNetCore.Http.Authentication.AuthenticationDescription class

public AuthenticationDescription()
AuthenticationDescription(System.Collections.Generic.IDictionary<System.String, System.Object>)

Initializes a new instance of the Microsoft.AspNetCore.Http.Authentication.AuthenticationDescription class

public AuthenticationDescription(IDictionary<string, object> items)

Properties

Microsoft.AspNetCore.Http.Authentication.AuthenticationDescription.AuthenticationScheme

Gets or sets the name used to reference the authentication middleware instance.

Return type:System.String
public string AuthenticationScheme { get; set; }
Microsoft.AspNetCore.Http.Authentication.AuthenticationDescription.DisplayName

Gets or sets the display name for the authentication provider.

Return type:System.String
public string DisplayName { get; set; }
Microsoft.AspNetCore.Http.Authentication.AuthenticationDescription.Items

Contains metadata about the authentication provider.

Return type:System.Collections.Generic.IDictionary<System.String>
public IDictionary<string, object> Items { get; }