auth

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: Apache-2.0 Imports: 8 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