Diffusion .NET Client Library
6.1.5
|
The callback interface for ISecurity.ChangePrincipal. More...
Public Member Functions | |
void | OnPrincipalChanged (TC context) |
Notification that a request to change the session principal was successful. More... | |
void | OnAuthenticationFailure (TC context) |
This will be called if an attempt to change the session principal failed because authentication failed at the server. This could be because the named principal was unknown or the supplied credentials were invalid. More... | |
Public Member Functions inherited from PushTechnology.ClientInterface.Client.Features.IContextCallback< in TContext > | |
void | OnDiscard (TContext context) |
Called to notify that a call context was closed prematurely, typically due to a timeout or the session being closed. More... | |
The callback interface for ISecurity.ChangePrincipal.
Use this alternative to IChangePrincipalCallback to associate some arbitrary context object with each calls.
TC | The context object type. |
void PushTechnology.ClientInterface.Client.Features.IChangePrincipalContextCallback< in TC >.OnAuthenticationFailure | ( | TC | context | ) |
This will be called if an attempt to change the session principal failed because authentication failed at the server. This could be because the named principal was unknown or the supplied credentials were invalid.
context | The context object supplied when making the call. May be null. |
Implemented in PushTechnology.ClientInterface.Client.Features.ChangePrincipalContextCallbackDefault< TC >.
void PushTechnology.ClientInterface.Client.Features.IChangePrincipalContextCallback< in TC >.OnPrincipalChanged | ( | TC | context | ) |
Notification that a request to change the session principal was successful.
context | The context object supplied when making the call. May be null. |
Implemented in PushTechnology.ClientInterface.Client.Features.ChangePrincipalContextCallbackDefault< TC >.