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:<username> withSecurityConfig:@"SSO2Cookie" with-Password:<serverpassword>]; withVaultPassword:<vaultpassword>]; @catch (NSException* e) { // Exception Handling }