auth

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAuthInfo

func GetAuthInfo(ctx context.Context) (uint32, uint32, error)

Types

type ServerAuthCredentials

type ServerAuthCredentials struct {
	credentials.TransportCredentials
}

func (*ServerAuthCredentials) ServerHandshake

func (*ServerAuthCredentials) ServerHandshake(conn net.Conn) (net.Conn, credentials.AuthInfo, error)

type ServerAuthInfo

type ServerAuthInfo struct {
	credentials.AuthInfo
	// contains filtered or unexported fields
}

func (*ServerAuthInfo) AuthType

func (s *ServerAuthInfo) AuthType() string

Jump to

Keyboard shortcuts

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