1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
---
title: OAuth 1.0
---
# OAuth 1.0a and the Google OAuth Client Library for Java
[OAuth 1.0][oauth1] is a standard specification for allowing end users to
securely authorize a client application to access protected server-side
resources.
## Important notices
The OAuth 1.0a support provided by the Google OAuth Client Library for Java is
`@Beta`.
Do not use OAuth 1.0 to access Google APIs, because Google has deprecated its
support for OAuth 1.0 in favor of OAuth 2.0. If you currently have an app that
accesses Google APIs using OAuth 1.0, see
[Migrating from OAuth 1.0 to OAuth 2.0][migrating].
## Using OAuth 1.0
The Google OAuth Client Library for Java supports two types of signature methods
for OAuth 1.0a (`@Beta`), which we provide foruse with non-Google services:
* HMAC-SHA1 ([`OAuthHmacSigner`][oauth-hmac-signer])
* RSA-SHA1 ([`OAuthRsaSigner`][oauth-rsa-signer]
For details, see the
[Javadoc for the OAuth 1.0 package][oauth-javadoc].
[oauth1]: http://tools.ietf.org/html/rfc5849
[migrating]: https://developers.google.com/accounts/docs/OAuth_ref#migration
[oauth-hmac-signer]: https://googleapis.dev/java/google-oauth-client/latest/com/google/api/client/auth/oauth/OAuthHmacSigner.html
[oauth-rsa-signer]: https://googleapis.dev/java/google-oauth-client/latest/com/google/api/client/auth/oauth/OAuthRsaSigner.html
[oauth-javadoc]: (https://googleapis.dev/java/google-oauth-client/latest/com/google/api/client/auth/oauth/package-summary.html)
|