auth

package
v0.0.0-...-0451d2a Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UserIDFromContext

func UserIDFromContext(ctx context.Context) (string, error)

Types

type AuthGRPCInterceptor

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

func NewAuthGRPCInterceptor

func NewAuthGRPCInterceptor(authClient auth.AuthServiceClient) *AuthGRPCInterceptor

func (*AuthGRPCInterceptor) Stream

func (*AuthGRPCInterceptor) Unary

type SessionKey

type SessionKey string
const (
	UserIDMetadataKey SessionKey = "user_id"
)

Jump to

Keyboard shortcuts

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