auth

package
v0.0.0-...-08ba86d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JwtPerRPCCredentials

type JwtPerRPCCredentials struct {
	// contains filtered or unexported fields
}

func NewJwtPerRPCCredentials

func NewJwtPerRPCCredentials(keyPair KeyPair, issuer, subject string) *JwtPerRPCCredentials

func (*JwtPerRPCCredentials) GetRequestMetadata

func (creds *JwtPerRPCCredentials) GetRequestMetadata(ctx context.Context, uri ...string) (map[string]string, error)

func (*JwtPerRPCCredentials) RequireTransportSecurity

func (*JwtPerRPCCredentials) RequireTransportSecurity() bool

type KeyPair

type KeyPair struct {
	ApiKey    string
	SecretKey string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL