provider

package
v0.0.0-...-3943201 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2022 License: Apache-2.0 Imports: 1 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 {
	ID     string
	Secret string

	Audience []string
	Scope    []string

	GrantTypes    []string
	ResponseTypes []string

	Origins   []string
	Callbacks []string

	TokenEndpointAuthMethod string

	Metadata map[string]any
}

type Provider

type Provider interface {
	Clients(ctx context.Context) ([]Client, error)
	Client(ctx context.Context, id string) (*Client, error)

	CreateClient(ctx context.Context, c Client) (*Client, error)
	DeleteClient(ctx context.Context, id string) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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