![]() |
Diffusion C API 6.12.0
|
Functions | |
void | diffusion_set_authentication_handler (SESSION_T *session, const DIFFUSION_AUTHENTICATION_HANDLER_PARAMS_T params) |
Register an authentication handler for client authentication events. | |
bool | diffusion_revoke_authentication (SESSION_T *session, const DIFFUSION_REVOKE_AUTHENTICATION_PARAMS_T params, DIFFUSION_API_ERROR *api_error) |
Revokes a session's authentication. | |
bool diffusion_revoke_authentication | ( | SESSION_T * | session, |
const DIFFUSION_REVOKE_AUTHENTICATION_PARAMS_T | params, | ||
DIFFUSION_API_ERROR * | api_error | ||
) |
Revokes a session's authentication.
This will immediately close the specified client session.
session | The session handle. If NULL, this function returns immediately. |
params | Parameters describing the diffusion_revoke_authentication request and callback handlers which may be invoked in response. |
api_error | Populated on API error. Can be NULL. |
api_error
pointer has been provided, this will be populated with the error information and should be freed with diffusion_api_error_free
.void diffusion_set_authentication_handler | ( | SESSION_T * | session, |
const DIFFUSION_AUTHENTICATION_HANDLER_PARAMS_T | params | ||
) |
Register an authentication handler for client authentication events.
session | The session handle. If NULL, this function returns immediately with the value NULL. |
params | Parameters defining the request to register an authentication handler. |