diff --git a/google-auth-library-java/.repo-metadata.json b/google-auth-library-java/.repo-metadata.json index 1aa441105b27..1ff91cae415a 100644 --- a/google-auth-library-java/.repo-metadata.json +++ b/google-auth-library-java/.repo-metadata.json @@ -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", diff --git a/google-auth-library-java/README.md b/google-auth-library-java/README.md index 6795cd0a491e..61ab0b763412 100644 --- a/google-auth-library-java/README.md +++ b/google-auth-library-java/README.md @@ -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, @@ -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 @@ -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. diff --git a/google-auth-library-java/bom/README.md b/google-auth-library-java/bom/README.md index 0e6119b7818f..2a0401ff121d 100644 --- a/google-auth-library-java/bom/README.md +++ b/google-auth-library-java/bom/README.md @@ -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. diff --git a/google-auth-library-java/pom.xml b/google-auth-library-java/pom.xml index 77a22c849fef..ed3deffcfbb3 100644 --- a/google-auth-library-java/pom.xml +++ b/google-auth-library-java/pom.xml @@ -26,10 +26,9 @@ https://google.oss.sonatype.org/content/repositories/snapshots - googleapis.dev - Google self-hosted documentation site - https://googleapis.dev/java/google-auth-library/${project.version} - + docs.cloud.google.com + Google Cloud Java API Reference + https://docs.cloud.google.com/java/docs/reference/google-auth-library/latest/overview