oidc

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2018 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Backend

func Backend() *backend

Backend returns a private embedded struct of framework.Backend.

func Factory

func Factory(ctx context.Context, conf *logical.BackendConfig) (logical.Backend, error)

Factory returns a new backend as logical.Backend.

func FactoryType

func FactoryType(backendType logical.BackendType) logical.Factory

FactoryType is a wrapper func that allows the Factory func to specify the backend type for the mock backend plugin instance.

Types

type CLIHandler

type CLIHandler struct{}

func (*CLIHandler) Auth

func (h *CLIHandler) Auth(c *api.Client, m map[string]string) (string, error)

func (*CLIHandler) Help

func (h *CLIHandler) Help() string

type ConfigEntry

type ConfigEntry struct {
	IssuerUrl      string   `json:"issuer_url"`
	IssuerCABundle string   `json:"issuer_verify_ca"`
	ClientIDs      []string `json:"client_ids"`
	UsernameClaim  string   `json:"username_claim"`
	GroupsClaim    string   `json:"group_claim"`
}

ConfigEntry for OIDC configuration.

type GroupEntry

type GroupEntry struct {
	Policies []string
}

type UserEntry

type UserEntry struct {
	Groups   []string
	Policies []string
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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