NegotiateAuthentication.GetOutgoingBlob Method (System.Net.Security) (original) (raw)
Source:
Source:
Source:
Source:
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
Incoming authentication token, or empty value when initiating the authentication exchange. Encoded as base64.
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 Completedor 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.