core

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

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

func NewAuth

func NewAuth(url string) (*Auth, error)

func (*Auth) SessionID

func (auth *Auth) SessionID(r *http.Request) string

func (*Auth) UserID

func (auth *Auth) UserID(r *http.Request) (string, error)

type Broker

type Broker struct {
	URL   string `config:"url"`
	Topic string `config:"topic"`
}

type Config

type Config struct {
	ID      string `config:"id"`
	Addr    string `config:"addr"`
	JwksURL string `config:"jwks_url"`
	Broker  Broker `config:"broker"`
}

func NewConfig

func NewConfig(path string) (*Config, error)

Jump to

Keyboard shortcuts

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