Class TestUser

    • Method Detail

      • getAccessToken

        public String getAccessToken()
        You can use this access token to make API calls on behalf of the test user. This is available only if your app has been installed by the test user.
        Returns:
        The test user's access token.
      • setAccessToken

        public void setAccessToken​(String accessToken)
        You can use this access token to make API calls on behalf of the test user. This is available only if your app has been installed by the test user.
      • getLoginUrl

        public String getLoginUrl()
        You can login as the test user by going to this url.
        Returns:
        The test user's login url.
      • setLoginUrl

        public void setLoginUrl​(String loginUrl)
        You can login as the test user by going to this url.
      • getEmail

        public String getEmail()
        If logging in manually (that is, not using the login_url), you can use this as the user's email address.
        Returns:
        The test user's email address.
      • setEmail

        public void setEmail​(String email)
        If logging in manually (that is, not using the login_url), you can use this as the user's email address.
      • getPassword

        public String getPassword()
        If logging in manually (that is, not using the login_url), you can use this as the user's password.
        Returns:
        The test user's password.
      • setPassword

        public void setPassword​(String password)
        If logging in manually (that is, not using the login_url), you can use this as the user's password.