|
|
XGAuthenticator.h |
This header file describes the abstract interface of a generic authenticator. This interface is intended to be used by concrete authenticator subclasses.
An XGAuthenticator class is used by the XGConnection class to perform authentication of the connection.
XGAuthenticatorState |
typedef enum { XGAuthenticatorStateUnauthenticated = 0, XGAuthenticatorStateAuthenticating, XGAuthenticatorStateAuthenticated, XGAuthenticatorStateFailed } XGAuthenticatorState;
XGAuthenticatorStateUnauthenticatedThe initial state of the authenticator.
XGAuthenticatorStateAuthenticatingThe authenticator enters this state immediately following reception of the -startAuthenticating message.
XGAuthenticatorStateAuthenticatedThe authenticator enters this state immediately following the successful authentication of the connection.
XGAuthenticatorStateFailedThe authenticator enters this state immediately following an unsucessful authentication of the connection.
The XGAuthenticatorState enum defines constants that are used by the authenticator to specify which state it is in.
Last Updated: 2009-08-12