auth

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTokenFromStaticCreds added in v0.0.18

func GetTokenFromStaticCreds(ctx context.Context, user, password string, conn *grpc.ClientConn) (string, error)

Types

type GetAuthCallback added in v0.0.17

type GetAuthCallback func(ctx context.Context) (YdbCredentials, error)

type YdbCredentials added in v0.0.17

type YdbCredentials struct {
	Token    string
	User     string
	Password string
}

Jump to

Keyboard shortcuts

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