Show / Hide Table of Contents

Class AuthenticationServices

Provides methods for configuring AMI authentication in DI environment.

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

Methods

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
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾