public ActionController( string domain, AuthenticationToken securityToken )
 {
     this.domain = domain;
     this.securityToken = securityToken;
 }
 /// <summary>
 /// Creates an instance of the ProvisioningManager with the desired context (Domain, SecurityToken).
 /// In a typical environment only one Domain and SecurityToken will be used, so they are stored for
 /// the lifetime of this class.
 /// </summary>
 /// <param name="domain"></param>
 /// <param name="securityToken"></param>
 public ProvisioningManager( string domain, AuthenticationToken securityToken )
 {
     controller = new ActionController( domain, securityToken );
 }
        private void Initialize( string domain, string adminEmail, string adminPassword )
        {
            this.domain = domain;

            securityToken =
                new AuthenticationToken( adminEmail, adminPassword );

            provisioningManager =
                new ProvisioningManager( this.domain, securityToken );
        }