BlackBerry Dynamics for .NET Maui  12.0.0.9
Runtime library for .NET Maui applications
BBDXamarinForms.Common.Interfaces.Networking.Http.IBBDCacheController Interface Reference

Control the secure authentication cache. More...

Public Member Functions

Task KerberosAllowDelegationAsync (bool allow)
 Allows or disallows Kerberos delegation within BlackBerry Dynamics secure communications. By default, Kerberos delegation is disallowed. More...
 
Task< bool > GetAllowDelegationAsync ()
 Checks whether Kerberos authentication delegation is allowed or disallowed. More...
 
void ClearCredentialsForMethod (BBDAuthenticationMethod? method=null)
 Call this function to clear the cached credentials for a particular authentication method, or to clear for all methods. Calling this function clears the session cache, and the permanent cache if present. (Currently, the BlackBerry Dynamics Runtime only has a permanent cache for Kerberos authentication tickets.) More...
 

Detailed Description

Control the secure authentication cache.

Member Function Documentation

◆ ClearCredentialsForMethod()

void BBDXamarinForms.Common.Interfaces.Networking.Http.IBBDCacheController.ClearCredentialsForMethod ( BBDAuthenticationMethod method = null)

Call this function to clear the cached credentials for a particular authentication method, or to clear for all methods. Calling this function clears the session cache, and the permanent cache if present. (Currently, the BlackBerry Dynamics Runtime only has a permanent cache for Kerberos authentication tickets.)

Parameters
methodBBDAuthenticationMethod specifying which cache is to be cleared or null to clear all.

◆ GetAllowDelegationAsync()

Task<bool> BBDXamarinForms.Common.Interfaces.Networking.Http.IBBDCacheController.GetAllowDelegationAsync ( )

Checks whether Kerberos authentication delegation is allowed or disallowed.

Returns
true, if delegation is allowed, false otherwise.

◆ KerberosAllowDelegationAsync()

Task BBDXamarinForms.Common.Interfaces.Networking.Http.IBBDCacheController.KerberosAllowDelegationAsync ( bool  allow)

Allows or disallows Kerberos delegation within BlackBerry Dynamics secure communications. By default, Kerberos delegation is disallowed.

After this function has been called, delegation will remain allowed or disallowed until this function is called again with a different setting.

Parameters
allowIf set to true allow delegation. If set to false disallow delegation.