/v3.2/nimbits-sdk/src/com/nimbits/user/UserFactory.java
http://nimbits-server.googlecode.com/ · Java · 35 lines · 10 code · 7 blank · 18 comment · 0 complexity · bb45106b6ad859e3515a12ace7226df9 MD5 · raw file
- /*
- * Copyright (c) 2010 Tonic Solutions LLC.
- *
- * http://www.nimbits.com
- *
- *
- * Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.gnu.org/licenses/gpl.html
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the license is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
- */
- package com.nimbits.user;
- import com.nimbits.client.model.email.EmailAddress;
- /**
- * Created by bsautner
- * User: benjamin
- * Date: 9/5/11
- * Time: 4:12 PM
- */
- public class UserFactory {
- public static NimbitsUser createNimbitsUser(EmailAddress emailAddress, String secretKey) {
- return new NimbitsUser(emailAddress, secretKey);
- }
- public static GoogleUser createGoogleUser(EmailAddress emailAddress, String googlePassword) {
- return new GoogleUser(emailAddress, googlePassword);
- }
- }