NegotiateAuthentication.GetOutgoingBlob Méthode

Définition

Surcharges

GetOutgoingBlob(ReadOnlySpan<Byte>, NegotiateAuthenticationStatusCode)

Évalue un jeton d’authentification envoyé par l’autre partie et retourne un jeton en réponse.

GetOutgoingBlob(String, NegotiateAuthenticationStatusCode)

Évalue un jeton d’authentification envoyé par l’autre partie et retourne un jeton en réponse.

GetOutgoingBlob(ReadOnlySpan<Byte>, NegotiateAuthenticationStatusCode)

Source:
NegotiateAuthentication.cs
Source:
NegotiateAuthentication.cs
Source:
NegotiateAuthentication.cs

Évalue un jeton d’authentification envoyé par l’autre partie et retourne un jeton en réponse.

public:
 cli::array <System::Byte> ^ GetOutgoingBlob(ReadOnlySpan<System::Byte> incomingBlob, [Runtime::InteropServices::Out] System::Net::Security::NegotiateAuthenticationStatusCode % statusCode);
public byte[]? GetOutgoingBlob (ReadOnlySpan<byte> incomingBlob, out System.Net.Security.NegotiateAuthenticationStatusCode statusCode);
member this.GetOutgoingBlob : ReadOnlySpan<byte> * NegotiateAuthenticationStatusCode -> byte[]
Public Function GetOutgoingBlob (incomingBlob As ReadOnlySpan(Of Byte), ByRef statusCode As NegotiateAuthenticationStatusCode) As Byte()

Paramètres

incomingBlob
ReadOnlySpan<Byte>

Jeton d’authentification entrant ou valeur vide lors du lancement de l’échange d’authentification.

statusCode
NegotiateAuthenticationStatusCode

Code d’état retourné par le fournisseur d’authentification.

Retours

Byte[]

Jeton d’authentification sortant à envoyer à l’autre partie.

Remarques

Lors du lancement de l’échange d’authentification, l’une des parties commence par un paramètre incomingBlob vide.

L’authentification réussie retourne le Completed code ou ContinueNeeded status. Tout autre code status indique une erreur irrécupérable.

Quand ContinueNeeded est retourné, la valeur de retour est un jeton d’authentification à transporter à l’autre partie.

S’applique à

GetOutgoingBlob(String, NegotiateAuthenticationStatusCode)

Source:
NegotiateAuthentication.cs
Source:
NegotiateAuthentication.cs
Source:
NegotiateAuthentication.cs

Évalue un jeton d’authentification envoyé par l’autre partie et retourne un jeton en réponse.

public:
 System::String ^ GetOutgoingBlob(System::String ^ incomingBlob, [Runtime::InteropServices::Out] System::Net::Security::NegotiateAuthenticationStatusCode % statusCode);
public string? GetOutgoingBlob (string? incomingBlob, out System.Net.Security.NegotiateAuthenticationStatusCode statusCode);
member this.GetOutgoingBlob : string * NegotiateAuthenticationStatusCode -> string
Public Function GetOutgoingBlob (incomingBlob As String, ByRef statusCode As NegotiateAuthenticationStatusCode) As String

Paramètres

incomingBlob
String

Jeton d’authentification entrant ou valeur vide lors du lancement de l’échange d’authentification. Encodé en base64.

statusCode
NegotiateAuthenticationStatusCode

Code d’état retourné par le fournisseur d’authentification.

Retours

Jeton d’authentification sortant à envoyer à l’autre partie, encodé en base64.

Remarques

Lors du lancement de l’échange d’authentification, l’une des parties commence par un paramètre incomingBlob vide.

L’authentification réussie retourne le Completed code ou ContinueNeeded status. Tout autre code status indique une erreur irrécupérable.

Quand ContinueNeeded est retourné, la valeur de retour est un jeton d’authentification à transporter à l’autre partie.

S’applique à