/FSKit/Source/Common/enunciate/dev/identity.h

http://fskit.googlecode.com/ · C Header · 497 lines · 168 code · 81 blank · 248 comment · 0 complexity · 5f5a01889766fef5c74412c8eaf43952 MD5 · raw file

  1. //
  2. // This code was generated by Enunciate.
  3. // http://enunciate.codehaus.org/
  4. //
  5. #import <libxml/xmlwriter.h>
  6. #import <libxml/xmlreader.h>
  7. #import <Foundation/Foundation.h>
  8. #import "enunciate_common.h"
  9. #import "fsv1.h"
  10. #ifndef DEBUG_ENUNCIATE
  11. //turn off enunciate debugging.
  12. #define DEBUG_ENUNCIATE 2
  13. #endif
  14. /**
  15. * (no documentation provided)
  16. */
  17. enum FSIDENTITYV2AAuthenticationStatus
  18. {
  19. /**
  20. * (no documentation provided)
  21. */
  22. IDENTITY_IDENTITY_V2_AUTHENTICATIONSTATUS_SUCCESS,
  23. /**
  24. * (no documentation provided)
  25. */
  26. IDENTITY_IDENTITY_V2_AUTHENTICATIONSTATUS_FAILURE,
  27. /**
  28. * (no documentation provided)
  29. */
  30. IDENTITY_IDENTITY_V2_AUTHENTICATIONSTATUS_RESOLUTION_REQUIRED,
  31. /**
  32. * (no documentation provided)
  33. */
  34. IDENTITY_IDENTITY_V2_AUTHENTICATIONSTATUS_INVALID_KEY,
  35. /**
  36. * (no documentation provided)
  37. */
  38. IDENTITY_IDENTITY_V2_AUTHENTICATIONSTATUS_OTHER
  39. };
  40. /**
  41. * Reads a AuthenticationStatus from XML. The reader is assumed to be at the start element.
  42. *
  43. * @param reader The XML reader.
  44. * @return The AuthenticationStatus, or NULL if unable to be read.
  45. */
  46. static enum FSIDENTITYV2AAuthenticationStatus *xmlTextReaderReadFSIDENTITYV2AAuthenticationStatusType(xmlTextReaderPtr reader);
  47. /**
  48. * Writes a AuthenticationStatus to XML.
  49. *
  50. * @param writer The XML writer.
  51. * @param _authenticationStatus The AuthenticationStatus to write.
  52. * @return The bytes written (may be 0 in case of buffering) or -1 in case of error.
  53. */
  54. static int xmlTextWriterWriteFSIDENTITYV2AAuthenticationStatusType(xmlTextWriterPtr writer, enum FSIDENTITYV2AAuthenticationStatus *_authenticationStatus);
  55. @class FSIDENTITYV2ASession;
  56. @class FSIDENTITYV2AAuthentication;
  57. @class FSIDENTITYV2AUserPermission;
  58. @class FSIDENTITYV2AUser;
  59. @class FSIDENTITYV2ASessionValue;
  60. @class FSIDENTITYV1Session;
  61. @class FSV1BasicProperty;
  62. @class FSV1BasicError;
  63. @class FSV1BasicElement;
  64. @class FSIDENTITYV2AIdentityStatus;
  65. @class FSIDENTITYV2AIdentityProperty;
  66. @class FSIDENTITYV1Identity;
  67. @class FSIDENTITYV2AIdentity;
  68. /**
  69. * (no documentation provided)
  70. */
  71. @interface FSIDENTITYV2ASession : NSObject
  72. {
  73. @private
  74. NSString *_id;
  75. NSArray *_values;
  76. }
  77. /**
  78. * session id.
  79. */
  80. - (NSString *) id;
  81. /**
  82. * session id.
  83. */
  84. - (void) setId: (NSString *) newId;
  85. /**
  86. * session values.
  87. */
  88. - (NSArray *) values;
  89. /**
  90. * session values.
  91. */
  92. - (void) setValues: (NSArray *) newValues;
  93. @end /* interface FSIDENTITYV2ASession */
  94. /**
  95. * (no documentation provided)
  96. */
  97. @interface FSIDENTITYV2AAuthentication : NSObject
  98. {
  99. @private
  100. enum FSIDENTITYV2AAuthenticationStatus *_status;
  101. NSString *_resolutionUri;
  102. }
  103. /**
  104. * authentication status.
  105. */
  106. - (enum FSIDENTITYV2AAuthenticationStatus *) status;
  107. /**
  108. * authentication status.
  109. */
  110. - (void) setStatus: (enum FSIDENTITYV2AAuthenticationStatus *) newStatus;
  111. /**
  112. * authentication resolution URI.
  113. */
  114. - (NSString *) resolutionUri;
  115. /**
  116. * authentication resolution URI.
  117. */
  118. - (void) setResolutionUri: (NSString *) newResolutionUri;
  119. @end /* interface FSIDENTITYV2AAuthentication */
  120. /**
  121. * @author Rob Lyon
  122. */
  123. @interface FSIDENTITYV2AUserPermission : NSObject
  124. {
  125. @private
  126. NSString *_id;
  127. NSString *_name;
  128. }
  129. /**
  130. * (no documentation provided)
  131. */
  132. - (NSString *) id;
  133. /**
  134. * (no documentation provided)
  135. */
  136. - (void) setId: (NSString *) newId;
  137. /**
  138. * (no documentation provided)
  139. */
  140. - (NSString *) name;
  141. /**
  142. * (no documentation provided)
  143. */
  144. - (void) setName: (NSString *) newName;
  145. @end /* interface FSIDENTITYV2AUserPermission */
  146. /**
  147. * (no documentation provided)
  148. */
  149. @interface FSIDENTITYV2AUser : NSObject
  150. {
  151. @private
  152. NSString *_id;
  153. NSString *_displayName;
  154. NSString *_email;
  155. }
  156. /**
  157. * (no documentation provided)
  158. */
  159. - (NSString *) id;
  160. /**
  161. * (no documentation provided)
  162. */
  163. - (void) setId: (NSString *) newId;
  164. /**
  165. * (no documentation provided)
  166. */
  167. - (NSString *) displayName;
  168. /**
  169. * (no documentation provided)
  170. */
  171. - (void) setDisplayName: (NSString *) newDisplayName;
  172. /**
  173. * (no documentation provided)
  174. */
  175. - (NSString *) email;
  176. /**
  177. * (no documentation provided)
  178. */
  179. - (void) setEmail: (NSString *) newEmail;
  180. @end /* interface FSIDENTITYV2AUser */
  181. /**
  182. * (no documentation provided)
  183. */
  184. @interface FSIDENTITYV2ASessionValue : NSObject
  185. {
  186. @private
  187. NSString *_name;
  188. NSString *_value;
  189. }
  190. /**
  191. * session value name.
  192. */
  193. - (NSString *) name;
  194. /**
  195. * session value name.
  196. */
  197. - (void) setName: (NSString *) newName;
  198. /**
  199. * session value value.
  200. */
  201. - (NSString *) value;
  202. /**
  203. * session value value.
  204. */
  205. - (void) setValue: (NSString *) newValue;
  206. @end /* interface FSIDENTITYV2ASessionValue */
  207. /**
  208. * A identity session.
  209. @author Rob Lyon
  210. */
  211. @interface FSIDENTITYV1Session : NSObject
  212. {
  213. @private
  214. NSString *_id;
  215. }
  216. /**
  217. * The id of the session.
  218. */
  219. - (NSString *) id;
  220. /**
  221. * The id of the session.
  222. */
  223. - (void) setId: (NSString *) newId;
  224. @end /* interface FSIDENTITYV1Session */
  225. /**
  226. * @author Ryan Heaton
  227. */
  228. @interface FSIDENTITYV2AIdentityStatus : NSObject
  229. {
  230. @private
  231. int _code;
  232. int *_subcode;
  233. NSString *_message;
  234. NSString *_details;
  235. }
  236. /**
  237. * (no documentation provided)
  238. */
  239. - (int) code;
  240. /**
  241. * (no documentation provided)
  242. */
  243. - (void) setCode: (int) newCode;
  244. /**
  245. * (no documentation provided)
  246. */
  247. - (int *) subcode;
  248. /**
  249. * (no documentation provided)
  250. */
  251. - (void) setSubcode: (int *) newSubcode;
  252. /**
  253. * (no documentation provided)
  254. */
  255. - (NSString *) message;
  256. /**
  257. * (no documentation provided)
  258. */
  259. - (void) setMessage: (NSString *) newMessage;
  260. /**
  261. * (no documentation provided)
  262. */
  263. - (NSString *) details;
  264. /**
  265. * (no documentation provided)
  266. */
  267. - (void) setDetails: (NSString *) newDetails;
  268. @end /* interface FSIDENTITYV2AIdentityStatus */
  269. /**
  270. * @author Ryan Heaton
  271. */
  272. @interface FSIDENTITYV2AIdentityProperty : NSObject
  273. {
  274. @private
  275. NSString *_name;
  276. NSString *_value;
  277. }
  278. /**
  279. * (no documentation provided)
  280. */
  281. - (NSString *) name;
  282. /**
  283. * (no documentation provided)
  284. */
  285. - (void) setName: (NSString *) newName;
  286. /**
  287. * (no documentation provided)
  288. */
  289. - (NSString *) value;
  290. /**
  291. * (no documentation provided)
  292. */
  293. - (void) setValue: (NSString *) newValue;
  294. @end /* interface FSIDENTITYV2AIdentityProperty */
  295. /**
  296. * @author Ryan Heaton
  297. */
  298. @interface FSIDENTITYV1Identity : FSV1BasicElement <EnunciateXML>
  299. {
  300. @private
  301. FSIDENTITYV1Session *_session;
  302. }
  303. /**
  304. * The session associated with the identity.
  305. */
  306. - (FSIDENTITYV1Session *) session;
  307. /**
  308. * The session associated with the identity.
  309. */
  310. - (void) setSession: (FSIDENTITYV1Session *) newSession;
  311. @end /* interface FSIDENTITYV1Identity */
  312. /**
  313. * @author Brian Pugh
  314. */
  315. @interface FSIDENTITYV2AIdentity : NSObject <EnunciateXML>
  316. {
  317. @private
  318. int *_statusCode;
  319. BOOL *_deprecated;
  320. NSString *_statusMessage;
  321. NSString *_version;
  322. FSIDENTITYV2AAuthentication *_authentication;
  323. FSIDENTITYV2ASession *_session;
  324. NSArray *_status;
  325. NSArray *_users;
  326. NSArray *_properties;
  327. NSArray *_permissions;
  328. }
  329. /**
  330. * (no documentation provided)
  331. */
  332. - (int *) statusCode;
  333. /**
  334. * (no documentation provided)
  335. */
  336. - (void) setStatusCode: (int *) newStatusCode;
  337. /**
  338. * (no documentation provided)
  339. */
  340. - (BOOL *) deprecated;
  341. /**
  342. * (no documentation provided)
  343. */
  344. - (void) setDeprecated: (BOOL *) newDeprecated;
  345. /**
  346. * (no documentation provided)
  347. */
  348. - (NSString *) statusMessage;
  349. /**
  350. * (no documentation provided)
  351. */
  352. - (void) setStatusMessage: (NSString *) newStatusMessage;
  353. /**
  354. * (no documentation provided)
  355. */
  356. - (NSString *) version;
  357. /**
  358. * (no documentation provided)
  359. */
  360. - (void) setVersion: (NSString *) newVersion;
  361. /**
  362. * authentication information.
  363. */
  364. - (FSIDENTITYV2AAuthentication *) authentication;
  365. /**
  366. * authentication information.
  367. */
  368. - (void) setAuthentication: (FSIDENTITYV2AAuthentication *) newAuthentication;
  369. /**
  370. * session information.
  371. */
  372. - (FSIDENTITYV2ASession *) session;
  373. /**
  374. * session information.
  375. */
  376. - (void) setSession: (FSIDENTITYV2ASession *) newSession;
  377. /**
  378. * The status list.
  379. */
  380. - (NSArray *) status;
  381. /**
  382. * The status list.
  383. */
  384. - (void) setStatus: (NSArray *) newStatus;
  385. /**
  386. * users.
  387. */
  388. - (NSArray *) users;
  389. /**
  390. * users.
  391. */
  392. - (void) setUsers: (NSArray *) newUsers;
  393. /**
  394. * The properties.
  395. */
  396. - (NSArray *) properties;
  397. /**
  398. * The properties.
  399. */
  400. - (void) setProperties: (NSArray *) newProperties;
  401. /**
  402. * permissions.
  403. */
  404. - (NSArray *) permissions;
  405. /**
  406. * permissions.
  407. */
  408. - (void) setPermissions: (NSArray *) newPermissions;
  409. @end /* interface FSIDENTITYV2AIdentity */