Categorygithub.com/apstndb/adcplus
repositorypackage
0.0.0-20210615091706-c0983920581f
Repository: https://github.com/apstndb/adcplus.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# README

adcplus

Go Reference

This package implements oauth2.TokenSource and signer which respects ADC with impersonation.

Disclaimer

This package is EXPERIMENTAL.

  • No responsibility.
  • May be broken.
  • Will do breaking changes.

Underlying method

signer.SmartSigner

credential/impersonateyesno
authorized_userCredentials APINot Supported
service_accountCredentials APISign by JSON key
external_accountCredentials APICredentials API as itself
compute_metadataCredentials APICredentials API as itself
App Engine 1st gen(only if WithExperimentalAppEngineSigner(true))Credentials APIappengine.SignBytes()

tokensource.SmartAccessTokenSource

credential/impersonateyesno
authorized_userCredentials APIADC(refresh token flow)
service_accountCredentials APIADC(jwt-bearer token flow)
external_accountCredentials APIADC(STS)
compute_metadataCredentials APIADC(token endpoint)

tokensource.SmartIDTokenSource

credential/impersonateyesno
authorized_userCredentials APINot Supported
service_accountCredentials APIADC(jwt-bearer flow)
external_accountCredentials APINot Supported(TODO: retrieve using STS)
compute_metadataCredentials APIADC(identity endpoint)

TODO