com.google.appengine.api.users.User.<init>()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(1.7k)|赞(0)|评价(0)|浏览(137)

本文整理了Java中com.google.appengine.api.users.User.<init>()方法的一些代码示例,展示了User.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。User.<init>()方法的具体详情如下:
包路径:com.google.appengine.api.users.User
类名称:User
方法名:<init>

User.<init>介绍

暂无

代码示例

代码示例来源:origin: org.vx68k.quercus/quercus

public GaeUser(String email,
        String authDomain,
        String userId,
        String federatedIdentity)
{
 _user = new User(email, authDomain, userId, federatedIdentity);
}

代码示例来源:origin: GoogleCloudPlatform/appengine-tck

@Test
public void testUserProperty() {
  testEqualityQueries(new User("foo@foo.com", "authDomain", "userId", "federatedIdentity"), new User("bar@bar.com", "authDomain", "userId", "federatedIdentity"));
  testInequalityQueries(new User("aaa@foo.com", "authDomain"), new User("bbb@foo.com", "authDomain"), new User("ccc@foo.com", "authDomain"));
}

代码示例来源:origin: com.googlecode.cedar-common/objectify

public static User instantiate(SerializationStreamReader streamReader)
    throws SerializationException
{
  String email = streamReader.readString();
  String auth = streamReader.readString();
  String userid = streamReader.readString();
  return new User(email, auth, userid);
}

代码示例来源:origin: GoogleCloudPlatform/appengine-tck

asSet(new GeoPt(10f, 10f)),
asSet(new GeoPt(20f, 20f)),
asSet(new User("aaa", "aaa"), new User("aaa", "otherAuthDomain")),  // ordering must depend only on the email
asSet(new User("bbb", "bbb")),
asSet(KeyFactory.createKey("kind", "aaa")),
asSet(KeyFactory.createKey("kind", "bbb"))

相关文章