C# Class Examples.ClientUsingCredentials

This demonstrates a client's use of credentials, specifically the ability to change the principal for an active session. This is not a realistic use case on its own, but it shown separately here for clarity.
Afficher le fichier Open project: pushtechnology/diffusion-examples

Méthodes publiques

Méthode Description
ChangePrincipal ( string principal, string password, IChangePrincipalCallback callback ) : void

Request a change of principal for the session.

ClientUsingCredentials ( ) : PushTechnology.ClientInterface.Client.Factories
Close ( ) : void

Close the session.

Method Details

ChangePrincipal() public méthode

Request a change of principal for the session.
public ChangePrincipal ( string principal, string password, IChangePrincipalCallback callback ) : void
principal string The new principal name.
password string The password.
callback IChangePrincipalCallback Notifies success or failure.
Résultat void

ClientUsingCredentials() public méthode

public ClientUsingCredentials ( ) : PushTechnology.ClientInterface.Client.Factories
Résultat PushTechnology.ClientInterface.Client.Factories

Close() public méthode

Close the session.
public Close ( ) : void
Résultat void