authcli

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2020 License: AGPL-3.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authenticate

func Authenticate(
	ctx context.Context,
	endpoint string,
) (au *auth.Auth, er error)

Authenticate authenticates with ProvenDB via the CLI

func AuthenticateForGRPC

func AuthenticateForGRPC(
	ctx context.Context,
	endpoint string,
	secure bool,
	devToken string,
) (creds credentials.PerRPCCredentials, er error)

AuthenticateForGRPC authenticates with ProvenDB for gRPC via the CLI

Types

This section is empty.

Jump to

Keyboard shortcuts

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