Text Output callback structure.
#include "am_auth.h" typedef struct am_auth_text_output_callback_info { const char *message; const char *message_type; } am_auth_text_output_callback_t;
This structure has the following members:
Message to be displayed.
Memory for the message is allocated by the C SDK in am_auth_login() and freed when the authentication context is destroyed using am_auth_destroy_auth_context().
Message type, one of INFORMATION, WARNING or ERROR.
Memory for the message type is allocated by the C SDK in am_auth_login() and freed when the authentication context is destroyed using am_auth_destroy_auth_context().
See am_auth_test.c in the C SDK samples for an example of how to use the text output callback.