public RequestRegisterUser(ScorocodeSdkStateHolder stateHolder, String username, String email, String password, DocumentInfo doc) { this.app = stateHolder.ApplicationId; this.cli = stateHolder.ClientKey; this.acc = stateHolder.MasterKey; this.email = email; this.username = username; this.password = password; if (doc != null) { this.doc = doc.GetContent(); } }