Diffusion .NET Client Library  6.1.5
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Client.Features.ISecurity Interface Reference

This feature provides a client session with the ability to change the associated principal. More...

Inheritance diagram for PushTechnology.ClientInterface.Client.Features.ISecurity:
PushTechnology.ClientInterface.Client.Features.IFeature

Public Member Functions

void ChangePrincipal (string principal, ICredentials credentials, IChangePrincipalCallback callback)
 Change the security principal associated with the current session. More...
 
void ChangePrincipal< TC > (string principal, ICredentials credentials, TC context, IChangePrincipalContextCallback< TC > callback)
 Change the security principal associated with the current session. More...
 

Additional Inherited Members

- Properties inherited from PushTechnology.ClientInterface.Client.Features.IFeature
ISession Session [get]
 Returns the session that the feature is associated with. More...
 

Detailed Description

This feature provides a client session with the ability to change the associated principal.

Access Control

There are no permissions requirements associated with this feature. The client provides credentials that authenticate the new principal.

Member Function Documentation

void PushTechnology.ClientInterface.Client.Features.ISecurity.ChangePrincipal ( string  principal,
ICredentials  credentials,
IChangePrincipalCallback  callback 
)

Change the security principal associated with the current session.

If authentication fails, the current principal will remain valid.

Parameters
principalThe new principal name.
credentialsThe credentials authenticating the new principal.
callbackCalled on success or failure.
void PushTechnology.ClientInterface.Client.Features.ISecurity.ChangePrincipal< TC > ( string  principal,
ICredentials  credentials,
TC  context,
IChangePrincipalContextCallback< TC >  callback 
)

Change the security principal associated with the current session.

Template Parameters
TCThe context object type.
Parameters
principalThe new principal name.
credentialsThe credentials authenticating the new principal.
contextThe context passed to the callback.
callbackCalled on success or failure.

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