Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix README link to javadoc #322

Merged
merged 1 commit into from
Aug 6, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# Google Auth Library


Open source authentication client library for Java.

[![unstable](http://badges.github.io/stability-badges/dist/unstable.svg)](http://github.com/badges/stability-badges)
[![codecov](https://codecov.io/gh/googleapis/google-auth-library-java/branch/master/graph/badge.svg)](https://codecov.io/gh/googleapis/google-auth-library-java)
[![Maven](https://img.shields.io/maven-central/v/com.google.auth/google-auth-library-credentials.svg)](https://img.shields.io/maven-central/v/com.google.auth/google-auth-library-credentials.svg)

- [API Documentation](https://google.github.io/google-auth-library-java/releases/latest/apidocs)
- [API Documentation](https://googleapis.dev/java/google-auth-library/latest)

This project consists of 3 artifacts:

Expand Down Expand Up @@ -146,7 +145,7 @@ AccessToken token = credentials.refreshAccessToken();
### ImpersonatedCredentials

Allows a credentials issued to a user or service account to
impersonate another. The source project using ImpersonaedCredentials must enable the
impersonate another. The source project using ImpersonatedCredentials must enable the
"IAMCredentials" API. Also, the target service account must grant the orginating principal
the "Service Account Token Creator" IAM role.

Expand All @@ -170,7 +169,10 @@ for (Bucket b : storage_service.list().iterateAll())

## Using Credentials with `google-http-client`

Credentials provided by `google-auth-library` can be used with Google's [HTTP-based clients][apiary-clients]. We provide a [`HttpCredentialsAdapter`][http-credentials-adapter] which can be used as an [`HttpRequestInitializer`][http-request-initializer].
Credentials provided by `google-auth-library` can be used with Google's
[HTTP-based clients][apiary-clients]. We provide a
[`HttpCredentialsAdapter`][http-credentials-adapter] which can be used as an
[`HttpRequestInitializer`][http-request-initializer].

```java
import com.google.api.client.http.HttpRequestInitializer;
Expand Down