Share via


AuthenticationMechanism Enum

Definition

Different Authentication Mechanisms supported by New-Runspace command to connect to remote server.

public enum class AuthenticationMechanism
public enum AuthenticationMechanism
type AuthenticationMechanism = 
Public Enum AuthenticationMechanism
Inheritance
AuthenticationMechanism

Fields

Name Value Description
Default 0

Use the default authentication (as defined by the underlying protocol) for establishing a remote connection.

Basic 1

Use Basic authentication for establishing a remote connection.

Negotiate 2

Use Negotiate authentication for establishing a remote connection.

NegotiateWithImplicitCredential 3

Use Negotiate authentication for establishing a remote connection. Allow implicit credentials for Negotiate.

Credssp 4

Use CredSSP authentication for establishing a remote connection.

Digest 5

Use Digest authentication mechanism. Digest authentication operates much like Basic authentication. However, unlike Basic authentication, Digest authentication transmits credentials across the network as a hash value, also known as a message digest. The user name and password cannot be deciphered from the hash value. Conversely, Basic authentication sends a Base 64 encoded password, essentially in clear text, across the network.

Kerberos 6

Use Kerberos authentication for establishing a remote connection.

Applies to