NegotiateAuthentication.GetOutgoingBlob Method
Definition
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.
Overloads
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. |
GetOutgoingBlob(ReadOnlySpan<Byte>, NegotiateAuthenticationStatusCode)
- 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
GetOutgoingBlob(String, NegotiateAuthenticationStatusCode)
- 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.