NegotiateAuthentication.GetOutgoingBlob Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
GetOutgoingBlob(ReadOnlySpan<Byte>, NegotiateAuthenticationStatusCode) |
Evaluates an authentication token sent by the other party and returns a token in response. |
GetOutgoingBlob(String, NegotiateAuthenticationStatusCode) |
Evaluates an authentication token sent by the other party and returns a token in response. |
- Source:
- NegotiateAuthentication.cs
- Source:
- NegotiateAuthentication.cs
- Source:
- NegotiateAuthentication.cs
Evaluates an authentication token sent by the other party and returns a token in response.
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()
Parameters
- incomingBlob
- ReadOnlySpan<Byte>
Incoming authentication token, or empty value when initiating the authentication exchange.
- statusCode
- NegotiateAuthenticationStatusCode
Status code returned by the authentication provider.
Returns
An outgoing authentication token to be sent to the other party.
Remarks
When initiating the authentication exchange, one of the parties starts with an empty incomingBlob parameter.
Successful authentication returns either the Completed or ContinueNeeded status code. Any other status code indicates an unrecoverable error.
When ContinueNeeded is returned, the return value is an authentication token to be transported to the other party.
Applies to
.NET 10 i druge verzije
Proizvod | Verzije |
---|---|
.NET | 7, 8, 9, 10 |
- Source:
- NegotiateAuthentication.cs
- Source:
- NegotiateAuthentication.cs
- Source:
- NegotiateAuthentication.cs
Evaluates an authentication token sent by the other party and returns a token in response.
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
Parameters
- incomingBlob
- String
Incoming authentication token, or empty value when initiating the authentication exchange. Encoded as base64.
- statusCode
- NegotiateAuthenticationStatusCode
Status code returned by the authentication provider.
Returns
An outgoing authentication token to be sent to the other party, encoded as base64.
Remarks
When initiating the authentication exchange, one of the parties starts with an empty incomingBlob parameter.
Successful authentication returns either the Completed or ContinueNeeded status code. Any other status code indicates an unrecoverable error.
When ContinueNeeded is returned, the return value is an authentication token to be transported to the other party.
Applies to
.NET 10 i druge verzije
Proizvod | Verzije |
---|---|
.NET | 7, 8, 9, 10 |
Povratne informacije za .NET
.NET je projekat otvorenog koda. Izaberite vezu da biste pružili povratne informacije: