Interface IChangePrincipalCallback

The callback interface for ChangePrincipal(String, ICredentials, IChangePrincipalCallback) calls.

Inherited Members
ICallback.OnDiscard()
Namespace: PushTechnology.ClientInterface.Client.Features
Assembly: Diffusion.Client.dll
Syntax
public interface IChangePrincipalCallback : ICallback
Remarks

Caution

Deprecated since 6.7. Methods that use callbacks are deprecated and will be removed in a future release. Use a Task instead.

Methods

OnAuthenticationFailure()

The attempt to change the session principal failed because authentication failed at the server.

Declaration
void OnAuthenticationFailure()
Remarks

This could be because the named principal was unknown or the supplied credentials were invalid.

OnPrincipalChanged()

The session principal has been successfully changed.

Declaration
void OnPrincipalChanged()
Back to top