Help us shape the future of Go! Take the 2026 Go Developer Survey

auth

package
v2.9.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrForbidden = errors.Unauthenticated("invalid credentials")
)

Functions

func GetProjectID

func GetProjectID(r *http.Request) string

Types

type Keystone

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

func InitializeKeystone

func InitializeKeystone(providerClient *gophercloud.ProviderClient) (*Keystone, error)

func (*Keystone) AuthenticateToken

func (k *Keystone) AuthenticateToken(tokenStr string) (any, error)

Jump to

Keyboard shortcuts

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