LocalUserServiceTestConfig

com.google.appengine.tools.development.testing

Class LocalUserServiceTestConfig

  • java.lang.Object
    • com.google.appengine.tools.development.testing.LocalUserServiceTestConfig
    • Constructor Detail

      • LocalUserServiceTestConfig

        public LocalUserServiceTestConfig()
    • Method Detail

      • setOAuthConsumerKey

        public LocalUserServiceTestConfig setOAuthConsumerKey(java.lang.String oauthConsumerKey)
        Consumer key to return from com.google.appengine.api.oauth#getOAuthConsumerKey.
        Parameters:
        oauthConsumerKey -
        Returns:
        this (for chaining)
      • getOAuthConsumerKey

        public java.lang.String getOAuthConsumerKey()
        Return configured consumer key.
        Returns:
        configured consumer key.
      • setOAuthEmail

        public LocalUserServiceTestConfig setOAuthEmail(java.lang.String oauthEmail)
        Email to return from com.google.appengine.api.oauth#getCurrentUser.
        Parameters:
        oauthEmail -
        Returns:
        this (for chaining)
      • getOAuthEmail

        public java.lang.String getOAuthEmail()
        Return configured email.
        Returns:
        configured email.
      • setOAuthUserId

        public LocalUserServiceTestConfig setOAuthUserId(java.lang.String oauthUserId)
        User ID to return from com.google.appengine.api.oauth#getCurrentUser.
        Parameters:
        oauthUserId -
        Returns:
        this (for chaining)
      • getOAuthUserId

        public java.lang.String getOAuthUserId()
        Return configured user ID.
        Returns:
        configured user ID.
      • setOAuthAuthDomain

        public LocalUserServiceTestConfig setOAuthAuthDomain(java.lang.String oauthAuthDomain)
        Auth domain to return from com.google.appengine.api.oauth#getCurrentUser.
        Parameters:
        oauthAuthDomain -
        Returns:
        this (for chaining)