Documentation ¶
Index ¶
Constants ¶
View Source
const ( ClientHeaderKey = "client-id" ClientSecretKey = "client-secret" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authentication ¶
type Authentication struct {
// contains filtered or unexported fields
}
Authentication todo
func (*Authentication) GetRequestMetadata ¶
func (a *Authentication) GetRequestMetadata(context.Context, ...string) ( map[string]string, error, )
GetRequestMetadata todo
func (*Authentication) RequireTransportSecurity ¶
func (a *Authentication) RequireTransportSecurity() bool
RequireTransportSecurity todo
func (*Authentication) SetClientCredentials ¶
func (a *Authentication) SetClientCredentials(clientID, clientSecret string)
SetClientCredentials todo
type Config ¶
type Config struct { Addr string *Authentication }
func NewDefaultConfig ¶
func NewDefaultConfig() *Config
Click to show internal directories.
Click to hide internal directories.