Show / Hide Table of Contents

Class AuthenticationServices

Provides methods for configuring AMI authentication in DI environment.

Inheritance
object
AuthenticationServices
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DotNext.Maintenance.CommandLine.Authentication
Assembly: DotNext.MaintenanceServices.dll
Syntax
public static class AuthenticationServices

Methods

| Edit this page View Source

UseApplicationMaintenanceInterfaceAuthentication<T>(IServiceCollection)

Enables authentication of the specified type required to execute commands over AMI.

Declaration
public static IServiceCollection UseApplicationMaintenanceInterfaceAuthentication<T>(this IServiceCollection services) where T : class, IAuthenticationHandler
Parameters
Type Name Description
IServiceCollection services

A registry of services.

Returns
Type Description
IServiceCollection

A modified registry of services.

Type Parameters
Name Description
T

The type of the authentication.

See Also
PasswordAuthenticationHandler
LinuxUdsPeerAuthenticationHandler
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾