C# Class Microsoft.SqlServer.TDS.EndPoint.SSPI.SSPIContext

SSPI context
Inheritance: IDisposable
Datei anzeigen Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
ContinueClientAuthentication ( byte clientToken ) : SSPIResponse

Initialize authentication sequence for the client

ContinueServerAuthentication ( byte clientToken ) : SSPIResponse

Continue authentication sequence for the server

CreateClient ( ) : SSPIContext

Create SSPI context for client

CreateServer ( ) : SSPIContext

Create SSPI context for server

Dispose ( ) : void

Dispose

GetRemoteIdentity ( ) : IIdentity

Return identity of the party on the other end

StartClientAuthentication ( string targetMachine, uint targetPort ) : SSPIResponse

Initialize authentication sequence for the client

StartServerAuthentication ( byte clientToken ) : SSPIResponse

Initialize authentication sequence for the server

Protected Methods

Method Description
Dispose ( bool bIsDisposing ) : void

Dispose the instance

Private Methods

Method Description
SSPIContext ( ) : System

Default constructor

Method Details

ContinueClientAuthentication() public method

Initialize authentication sequence for the client
public ContinueClientAuthentication ( byte clientToken ) : SSPIResponse
clientToken byte Payload received from the server
return SSPIResponse

ContinueServerAuthentication() public method

Continue authentication sequence for the server
public ContinueServerAuthentication ( byte clientToken ) : SSPIResponse
clientToken byte Token received from the client
return SSPIResponse

CreateClient() public static method

Create SSPI context for client
public static CreateClient ( ) : SSPIContext
return SSPIContext

CreateServer() public static method

Create SSPI context for server
public static CreateServer ( ) : SSPIContext
return SSPIContext

Dispose() public method

Dispose
public Dispose ( ) : void
return void

Dispose() protected method

Dispose the instance
protected Dispose ( bool bIsDisposing ) : void
bIsDisposing bool
return void

GetRemoteIdentity() public method

Return identity of the party on the other end
public GetRemoteIdentity ( ) : IIdentity
return IIdentity

StartClientAuthentication() public method

Initialize authentication sequence for the client
public StartClientAuthentication ( string targetMachine, uint targetPort ) : SSPIResponse
targetMachine string
targetPort uint
return SSPIResponse

StartServerAuthentication() public method

Initialize authentication sequence for the server
public StartServerAuthentication ( byte clientToken ) : SSPIResponse
clientToken byte Token received from the client
return SSPIResponse