This structure has the following members:
Indicates which type of callback this represents and determines which callback structure is used in the callback_info union below.
The value is one of the following.
Each callback type corresponds to the callback class of the same name in the Java 2 SDK javax.security.auth.callback package.
The union of possible callback structures. The structure in the union to use depends on the callback_type field. Each structure corresponds to the callback class of the same name in the Java 2 SDK javax.security.auth.callback package and, has a response field to submit callback requirements.
Note that memory for all members in the callback structures except the response field is allocated by the C SDK in the am_auth_login() call, and is freed by the C SDK when the auth context is destroyed using am_auth_destroy_auth_context() . Memory for the response field must be allocated and freed by the caller.
Each callback structure is described in this chapter in detail.