Versions in this module Expand all Collapse all v0 v0.6.0 Mar 31, 2026 Changes in this version + type BearerTokenAuth struct + func NewBearerToken(token string) *BearerTokenAuth + func NewBearerTokenProvider(provider TokenProvider) *BearerTokenAuth + func (b *BearerTokenAuth) GetRequestMetadata(ctx context.Context, uri ...string) (map[string]string, error) + func (b *BearerTokenAuth) RequireTransportSecurity() bool + func (b *BearerTokenAuth) StreamInterceptor() grpc.StreamClientInterceptor + func (b *BearerTokenAuth) UnaryInterceptor() grpc.UnaryClientInterceptor + type TokenProvider func() (string, error)