An authenticator.

Functions

void

cass_authenticator_address

( auth, address )

Gets the IP address of the host being authenticated.

Parameters:
Name Type Details
in auth
out address
const char *

cass_authenticator_hostname

( auth, length )

Gets the hostname of the host being authenticated.

Parameters:
Name Type Details
in auth
out length
Returns:
Type Details
const char *

A null-terminated string.

const char *

cass_authenticator_class_name

( auth, length )

Gets the class name for the server-side IAuthentication implementation.

Parameters:
Name Type Details
in auth
out length
Returns:
Type Details
const char *

A null-terminated string.

void *

cass_authenticator_exchange_data

( auth )

Gets the user data created during the authenticator exchange. This is set using CassAuthenticator::cass_authenticator_set_exchange_data.

Parameters:
Name Type Details
in auth
Returns:
Type Details
void *

User specified exchange data previously set by CassAuthenticator::cass_authenticator_set_exchange_data.

See Also:
void

cass_authenticator_set_exchange_data

( auth, exchange_data )

Sets the user data to be used during the authenticator exchange.

Parameters:
Name Type Details
in auth
in exchange_data
See Also:
char *

cass_authenticator_response

( auth, size )

Gets a response token buffer of the provided size.

Parameters:
Name Type Details
in auth
in size
Returns:
Type Details
char *

A buffer to copy the response token.

void

cass_authenticator_set_response

( auth, response, response_size )

Sets the response token.

Parameters:
Name Type Details
in auth
in response
in response_size
void

cass_authenticator_set_error

( auth, message )

Sets an error for the authenticator exchange.

Parameters:
Name Type Details
in auth
in message
void

cass_authenticator_set_error_n

( auth, message, message_length )

Same as CassAuthenticator::cass_authenticator_set_error_n, but with lengths for string parameters.

Parameters:
Name Type Details
in auth
in message
in message_length
See Also: