Diffusion .NET Client Library  6.1.5
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Client.Features.IChangePrincipalContextCallback< in TC > Interface Template Reference

The callback interface for ISecurity.ChangePrincipal. More...

Inheritance diagram for PushTechnology.ClientInterface.Client.Features.IChangePrincipalContextCallback< in TC >:
PushTechnology.ClientInterface.Client.Features.IContextCallback< in TContext > PushTechnology.ClientInterface.Client.Features.ChangePrincipalContextCallbackDefault< TC >

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...
 

Detailed Description

The callback interface for ISecurity.ChangePrincipal.

Use this alternative to IChangePrincipalCallback to associate some arbitrary context object with each calls.

Template Parameters
TCThe context object type.

Member Function Documentation

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.

Parameters
contextThe 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.

Parameters
contextThe context object supplied when making the call. May be null.

Implemented in PushTechnology.ClientInterface.Client.Features.ChangePrincipalContextCallbackDefault< TC >.


The documentation for this interface was generated from the following file: