XGAuthenticator.h

Overview

This header file describes the abstract interface of a generic authenticator. This interface is intended to be used by concrete authenticator subclasses.



Classes

XGAuthenticator

An XGAuthenticator class is used by the XGConnection class to perform authentication of the connection.

Categories

NSObject(XGAuthenticatorDelegate)


Typedefs

XGAuthenticatorState

XGAuthenticatorState


typedef enum { 
    XGAuthenticatorStateUnauthenticated = 0, 
    XGAuthenticatorStateAuthenticating, 
    XGAuthenticatorStateAuthenticated, 
    XGAuthenticatorStateFailed 
} XGAuthenticatorState;  
Constants
XGAuthenticatorStateUnauthenticated

The initial state of the authenticator.

XGAuthenticatorStateAuthenticating

The authenticator enters this state immediately following reception of the -startAuthenticating message.

XGAuthenticatorStateAuthenticated

The authenticator enters this state immediately following the successful authentication of the connection.

XGAuthenticatorStateFailed

The authenticator enters this state immediately following an unsucessful authentication of the connection.

Discussion

The XGAuthenticatorState enum defines constants that are used by the authenticator to specify which state it is in.

Did this document help you? Yes It's good, but... Not helpful...

 

Last Updated: 2009-08-12