Registering an application automatically using an SSO2 Token Cookie. The token is fetched from a ticket issuing system and verified by the server.
-(void) registerUser: (NSString *) username withSecurityConfig: (NSString *) securityConfig withPassword: (NSString *) password withVaultPassword: (NSString *) vaultPassword
@try { [userManager registerUser:@"user" withSecurityConfig:@"SSO2Cookie" with-Password:@"password"; withVaultPassword:@"vaultpassword"]; @catch (NSException* e) { // Exception Handling }