Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion google-auth-library-java/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"api_shortname": "google-auth-library",
"name_pretty": "Google Auth Library",
"client_documentation": "https://googleapis.dev/java/google-auth-library/latest/",
"client_documentation": "https://docs.cloud.google.com/java/docs/reference/google-auth-library/latest/overview",
"release_level": "stable",
"language": "java",
"repo": "googleapis/google-cloud-java",
Expand Down
40 changes: 21 additions & 19 deletions google-auth-library-java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,33 @@

Open source authentication client library for Java.

[![stable](http://badges.github.io/stability-badges/dist/stable.svg)](http://github.com/badges/stability-badges)
[![stable](https://badges.github.io/stability-badges/dist/stable.svg)](https://github.com/badges/stability-badges)
[![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)

## Documentation

See the [official guide](https://cloud.google.com/java/getting-started/getting-started-with-google-auth-library) for ways
See the [official guide](https://docs.cloud.google.com/java/getting-started/getting-started-with-google-auth-library) for ways
to authenticate to Google Cloud and for more information about the Google Auth Library.

See the [API Documentation](https://cloud.google.com/java/docs/reference/google-auth-library/latest/overview.html) to see
See the [API Documentation](https://docs.cloud.google.com/java/docs/reference/google-auth-library/latest/overview) to see
the Javadocs for Google Auth Library.

## Modules

Import the [Bill of Materials (`google-auth-library-bom`)](bom/README.md) to align versions across
all modules (`groupId: com.google.auth`):

| Artifact ID | Module Directory | Purpose |
| --- | --- | --- |
| `google-auth-library-oauth2-http` | `oauth2_http/` | Primary OAuth 2.0, [Application Default Credentials (ADC)](https://docs.cloud.google.com/docs/authentication/application-default-credentials), [Workload Identity Federation](https://docs.cloud.google.com/iam/docs/workload-identity-federation), impersonation, and OIDC ID token library. |
| `google-auth-library-credentials` | `credentials/` | Lightweight, transport-agnostic `Credentials` and `ApiKeyCredentials` base classes and interfaces. |
| `google-auth-library-appengine` | `appengine/` | Legacy App Engine Standard `AppEngineCredentials` backed by the App Identity API. |
| `google-auth-library-cab-token-generator` | `cab-token-generator/` | Client-side [Credential Access Boundary (CAB)](https://docs.cloud.google.com/iam/docs/downscoping-short-lived-credentials) token generator. |
| `google-auth-library-bom` | `bom/` | Maven BOM managing consistent versions for all Google Auth Library artifacts. |

## Versioning

This library follows [Semantic Versioning](http://semver.org/), but with some
This library follows [Semantic Versioning](https://semver.org/), but with some
additional qualifications:

1. Components marked with `@ObsoleteApi` are stable for usage in the current major version,
Expand Down Expand Up @@ -46,10 +59,10 @@ additional qualifications:

Contributions to this library are always welcome and highly encouraged.

See [CONTRIBUTING](CONTRIBUTING.md) documentation for more information on how to get started.
See [CONTRIBUTING](../CONTRIBUTING.md) documentation for more information on how to get started.

Please note that this project is released with a Contributor Code of Conduct. By participating in
this project you agree to abide by its terms. See [Code of Conduct](CODE_OF_CONDUCT.md) for more
this project you agree to abide by its terms. See [Code of Conduct](../CODE_OF_CONDUCT.md) for more
information.

## Running the Tests
Expand All @@ -61,18 +74,7 @@ To run the tests you will need:
```bash
$ mvn test
```

## License

BSD 3-Clause - See [LICENSE](LICENSE) for more information.

[appengine-sdk-versions]: https://search.maven.org/search?q=g:com.google.appengine%20AND%20a:appengine-api-1.0-sdk&core=gav
[appengine-sdk-install]: https://github.com/googleapis/google-auth-library-java/blob/main/README.md#google-auth-library-appengine
[appengine-app-identity-service]: https://cloud.google.com/appengine/docs/java/javadoc/com/google/appengine/api/appidentity/AppIdentityService
[apiary-clients]: https://search.maven.org/search?q=g:com.google.apis
[http-credentials-adapter]: https://googleapis.dev/java/google-auth-library/latest/index.html?com/google/auth/http/HttpCredentialsAdapter.html
[http-request-initializer]: https://googleapis.dev/java/google-http-client/latest/index.html?com/google/api/client/http/HttpRequestInitializer.html
[token-verifier]: https://googleapis.dev/java/google-auth-library/latest/index.html?com/google/auth/oauth2/TokenVerifier.html
[token-verifier-builder]: https://googleapis.dev/java/google-auth-library/latest/index.html?com/google/auth/oauth2/TokenVerifier.Builder.html
[http-transport-factory]: https://googleapis.dev/java/google-auth-library/latest/index.html?com/google/auth/http/HttpTransportFactory.html
[google-credentials]: https://googleapis.dev/java/google-auth-library/latest/index.html?com/google/auth/oauth2/GoogleCredentials.html
BSD 3-Clause - See [BSD 3-Clause License](https://opensource.org/license/BSD-3-Clause) and [pom.xml](pom.xml) for more information.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

According to the general rules, when referencing a LICENSE file in a subdirectory's README, ensure the link points to the local LICENSE file (e.g., LICENSE or ./LICENSE) if the subdirectory has its own specific license (e.g., 'BSD 3-Clause') that differs from the repository root license (e.g., 'Apache 2.0'). Please preserve the link to the local LICENSE file instead of replacing it with an external URL.

Suggested change
BSD 3-Clause - See [BSD 3-Clause License](https://opensource.org/license/BSD-3-Clause) and [pom.xml](pom.xml) for more information.
BSD 3-Clause - See [LICENSE](LICENSE) and [pom.xml](pom.xml) for more information.
References
  1. When referencing a LICENSE file in a subdirectory's README, ensure the link points to the local LICENSE file (e.g., './LICENSE') if the subdirectory has its own specific license (e.g., 'BSD 3-Clause') that differs from the repository root license (e.g., 'Apache 2.0'). Do not automatically redirect to the repository root license.

4 changes: 1 addition & 3 deletions google-auth-library-java/bom/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,4 @@ To use it in Maven, add the following to your `pom.xml`:

## License

Apache 2.0 - See [LICENSE] for more information.

[LICENSE]: https://github.com/googleapis/google-auth-library-java/blob/main/LICENSE
BSD 3-Clause - See [BSD 3-Clause License](https://opensource.org/license/BSD-3-Clause) for more information.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

According to the general rules, when referencing a LICENSE file in a subdirectory's README, ensure the link points to the local LICENSE file (e.g., ../LICENSE) if the subdirectory has its own specific license (e.g., 'BSD 3-Clause') that differs from the repository root license (e.g., 'Apache 2.0'). Please point to the local LICENSE file in the parent directory.

Suggested change
BSD 3-Clause - See [BSD 3-Clause License](https://opensource.org/license/BSD-3-Clause) for more information.
BSD 3-Clause - See [LICENSE](../LICENSE) for more information.
References
  1. When referencing a LICENSE file in a subdirectory's README, ensure the link points to the local LICENSE file (e.g., './LICENSE') if the subdirectory has its own specific license (e.g., 'BSD 3-Clause') that differs from the repository root license (e.g., 'Apache 2.0'). Do not automatically redirect to the repository root license.

7 changes: 3 additions & 4 deletions google-auth-library-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,9 @@
<url>https://google.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<site>
<id>googleapis.dev</id>
<name>Google self-hosted documentation site</name>
<url>https://googleapis.dev/java/google-auth-library/${project.version}
</url>
<id>docs.cloud.google.com</id>
<name>Google Cloud Java API Reference</name>
<url>https://docs.cloud.google.com/java/docs/reference/google-auth-library/latest/overview</url>
</site>
</distributionManagement>

Expand Down
Loading