FME Server C++ API 3.0
|
00001 #ifndef _IFMESERVERSINGLESIGNONIDENTITY_H 00002 #define _IFMESERVERSINGLESIGNONIDENTITY_H 00003 00056 class IFMEServerString; 00057 00058 //=========================================================================== 00059 // Abstract Interface Class -- all methods are virtual and it has no data 00060 class IFMEServerSingleSignOnIdentity 00061 { 00062 public: 00063 // ----------------------------------------------------------------------- 00065 enum AuthenticationState 00066 { 00067 Succeeded = 0, 00068 InProgress = 1, 00069 Failed = 2 00070 } ; 00071 00072 // ----------------------------------------------------------------------- 00076 virtual AuthenticationState getAuthenticationState() const = 0; 00077 00078 // ----------------------------------------------------------------------- 00087 virtual void takeAuthData(IFMEServerString& authData) = 0; 00088 00089 protected: 00090 00091 // ----------------------------------------------------------------------- 00092 // No one should be creating an instance of this directly, so we 00093 // make the constructor protected. 00094 IFMEServerSingleSignOnIdentity() {} 00095 00096 // ----------------------------------------------------------------------- 00097 // No one should be destroying an instance of this directly, so we 00098 // make the destructor protected. 00099 virtual ~IFMEServerSingleSignOnIdentity() {} 00100 00101 private: 00102 00103 // ----------------------------------------------------------------------- 00104 // The copy constructor is not implemented. 00105 IFMEServerSingleSignOnIdentity(const IFMEServerSingleSignOnIdentity &other); 00106 00107 //--------------------------------------------------------------- 00108 // The assignment operator is not implemented. 00109 IFMEServerSingleSignOnIdentity &operator=(const IFMEServerSingleSignOnIdentity &other); 00110 }; 00111 00112 00113 #endif