Skip to content

Remove the HttpIntializer dependency from AuthCredentials #403

@aozarov

Description

@aozarov

After we resolve #334 We should also change AuthCredentials and replace protected abstract HttpRequestInitializer httpRequestInitializer with public abstract Credentials credentials() returning com.google.auth.Credentials.Credentials.

We should also change ServiceOptions.httpRequestInitializer to get the credentials from AuthCredentials and wrap them inside HttpCredentialsAdapter.

If we can't find a way to deal with the deferred scoping, we can consider returning GoogleCredentials
instead of credentials.

Metadata

Metadata

Labels

🚨This issue needs some love.api: coreauthtriage meI really want to be triaged.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions