This function returns one of the following values of the am_status_t enumeration (defined in the <am_types.h> header file):
If the login process was successfully completed.
If the auth_ctx or value parameter is NULL.
If the auth_idx parameter is invalid.