Interface IChangePrincipalContextCallback<TContext>
The callback interface for ChangePrincipal<TContext>(String, ICredentials, TContext, IChangePrincipalContextCallback<TContext>) calls.
Inherited Members
Namespace: PushTechnology.ClientInterface.Client.Features
Assembly: Diffusion.Client.dll
Syntax
public interface IChangePrincipalContextCallback<in TContext> : IContextCallback<TContext>
Type Parameters
Name | Description |
---|---|
TContext | The context type. |
Remarks
Caution
Deprecated since 6.7. Methods that use contextual callbacks are deprecated and will be removed in a future release. Use a Task instead.
Methods
OnAuthenticationFailure(TContext)
The attempt to change the session principal failed because authentication failed at the server.
Declaration
void OnAuthenticationFailure(TContext context)
Parameters
Type | Name | Description |
---|---|---|
TContext | context | The context for this operation. |
Remarks
This could be because the named principal was unknown or the supplied credentials were invalid.
OnPrincipalChanged(TContext)
The session principal has been successfully changed.
Declaration
void OnPrincipalChanged(TContext context)
Parameters
Type | Name | Description |
---|---|---|
TContext | context | The context for this operation. |