/src/main/java/com/google/ie/common/constants/OpenIdConstants.java

http://thoughtsite.googlecode.com/ · Java · 41 lines · 17 code · 4 blank · 20 comment · 0 complexity · e258f2cf6417b49e3b62cf3880f0712f MD5 · raw file

  1. /* Copyright 2010 Google Inc.
  2. *
  3. * Licensed under the Apache License, Version 2.0 (the "License");
  4. * you may not use this file except in compliance with the License.
  5. * You may obtain a copy of the License at
  6. *
  7. * http://www.apache.org/licenses/LICENSE-2.0
  8. *
  9. * Unless required by applicable law or agreed to in writing, software
  10. * distributed under the License is distributed on an "AS IS" BASIS.
  11. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. * See the License for the specific language governing permissions and
  13. * limitations under the License
  14. */
  15. package com.google.ie.common.constants;
  16. /**
  17. * Constant used for open id authentication
  18. *
  19. * @author gmaurya
  20. *
  21. */
  22. public class OpenIdConstants {
  23. public static final String REQUEST_TOKEN = "request_token";
  24. public static final String ACCESS_TOKEN = "access_token";
  25. public static final String ACCESS_TOKEN_SECRET = "access_token_secret";
  26. public static final String ACCESSOR = "accessor";
  27. public static final String DISCOVERED = "discovered";
  28. public static final String OPENID = "openid";
  29. public static final String SCOPE = "scope";
  30. public static final String GOOGLE = "google";
  31. public static final String OAUTH_TEST_END_POINT = "oauthTestEndpoint";
  32. public static final String EMAIL = "email";
  33. public static final String USER_IDENTIFIER = "userIdentifier";
  34. public static final String VIEWER_DISPLAY_NAME = "viewer_display_name";
  35. public static final String FIRST_NAME = "firstName";
  36. public static final String LATS_NAME = "lastName";
  37. }