Releases: googleapis/google-auth-library-java
Releases · googleapis/google-auth-library-java
0.7.0
-
Add
GoogleCredentials.createDelegated()
method to allow using domain-wide delegation with service accounts (#102 addresses #90): see https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority -
Retry HTTP errors in
ServiceAccountCredentials.refreshAccessToken()
to avoid propagating failures (#100 addresses #91) -
Allow bypassing App Engine credential check using environment variable, to allow Application Default Credentials to detect GCE when running on GAE Flex (#103)
Better token refresh
- Refresh Auth token with 5 minutes left (was 1 min)
- Several typo are fixed
- GAE API's and Servlets are provided - so mark them that way.
0.5.0
Features
- Add
ServiceAccountSigner
interface and implement signing capabilities (byte[] sign(byte[])
) in AppEngine and service account credentials (#73) GoogleCredentials.getApplicationDefault
no longer requiresgoogle-auth-library-appengine
to be in the classpath to create AppEngine credentials. AE SDK is accessed using reflection (#71)- Make credentials serializable. Add
HttpTransportFactory
class to wrapHttpTransport
creation an enable serialization (#69) - Add asynchronous
getRequestMetadata(URI, Executor, RequestMetadataCallback)
toCredentials
to allow getting request metadata without blocking (#64, #65) - Check
CLOUDSDK_CONFIG
for default credentials location (#63)
Many updates
This will fix a problem with 2LO tokens expiring after an hour.