C# Class Microsoft.SqlServer.TDS.Login7.TDSLogin7FedAuthOptionToken

Feature option token definition.
Inheritance: TDSLogin7FeatureOptionToken
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Méthode Description
Deflate ( Stream destination ) : void

Deflate the token

Inflate ( Stream source ) : bool

Inflate the token

TDSLogin7FedAuthOptionToken ( ) : System.IO

Default constructor

TDSLogin7FedAuthOptionToken ( Stream source ) : System.IO

Inflating constructor

TDSLogin7FedAuthOptionToken ( TdsPreLoginFedAuthRequiredOption echo, TDSFedAuthLibraryType libraryType, byte token, byte nonce, byte channelBindingToken, bool fIncludeSignature, bool fRequestingFurtherInfo, TDSFedAuthADALWorkflow workflow = TDSFedAuthADALWorkflow.USERNAME_PASSWORD ) : System.IO

Initialization Constructor.

Private Methods

Méthode Description
ReadIDCRLLogin ( Stream source, uint optionDataLength ) : bool

Read the stream for IDCRL based login

ReadSecurityTokenLogin ( Stream source, uint optionDataLength ) : bool

Read the stream for SecurityToken based login

_GenerateRandomBytes ( int count ) : byte[]

Generates random bytes

Method Details

Deflate() public méthode

Deflate the token
public Deflate ( Stream destination ) : void
destination System.IO.Stream Stream to deflate token to
Résultat void

Inflate() public méthode

Inflate the token
public Inflate ( Stream source ) : bool
source System.IO.Stream Stream to inflate the token from
Résultat bool

TDSLogin7FedAuthOptionToken() public méthode

Default constructor
public TDSLogin7FedAuthOptionToken ( ) : System.IO
Résultat System.IO

TDSLogin7FedAuthOptionToken() public méthode

Inflating constructor
public TDSLogin7FedAuthOptionToken ( Stream source ) : System.IO
source System.IO.Stream
Résultat System.IO

TDSLogin7FedAuthOptionToken() public méthode

Initialization Constructor.
public TDSLogin7FedAuthOptionToken ( TdsPreLoginFedAuthRequiredOption echo, TDSFedAuthLibraryType libraryType, byte token, byte nonce, byte channelBindingToken, bool fIncludeSignature, bool fRequestingFurtherInfo, TDSFedAuthADALWorkflow workflow = TDSFedAuthADALWorkflow.USERNAME_PASSWORD ) : System.IO
echo TdsPreLoginFedAuthRequiredOption
libraryType TDSFedAuthLibraryType
token byte
nonce byte
channelBindingToken byte
fIncludeSignature bool
fRequestingFurtherInfo bool
workflow TDSFedAuthADALWorkflow
Résultat System.IO