Terminate
For version 1.
The Client calls Terminate
when authentication is complete or when a password has expired or been erased by the user. In response, the Authentication Agent might release allocated resources and notify the user of the results of the authentication.
Prototype
int Terminate(void *context, int status, char *message);
Arguments
Argument |
In/Out |
Meaning |
---|---|---|
context |
In |
The context as provided by |
status |
In |
The status of the authentication. One of these values:
|
message |
In |
The termination message, if provided by the authentication server. |
Return Values
-
PLUGIN_OK
if successful. -
PLUGIN_CANCEL
if the input is not correct.