config

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Type         string   `json:"type" yaml:"type"`
	ID           string   `json:"id" yaml:"id"`
	Secret       string   `json:"secret" yaml:"secret"`
	RedirectURIs []string `json:"redirect_uris" yaml:"redirect_uris"`
}

type Config

type Config struct {
	Issuer       string            `json:"issuer" yaml:"issuer"`
	Clients      []*Client         `json:"clients" yaml:"clients"`
	Users        []*storage.User   `json:"users" yaml:"users"`
	ServiceUsers []*storage.Client `json:"service_users" yaml:"service_users"`
}

func New

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

Jump to

Keyboard shortcuts

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