dex

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2018 License: Apache-2.0 Imports: 9 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 {
	// contains filtered or unexported fields
}

Client represent a client wrapper for Dex

func NewClient

func NewClient(hostAndPort, clientCrt, clientKey string) (*Client, error)

NewClient creates a new Dex client

func (*Client) CreateClient

func (c *Client) CreateClient(ctx context.Context, redirectUris []string, trustedPeers []string,
	public bool, name string, logoURL string) (*api.Client, error)

CreateClient a new OIDC client in Dex

func (*Client) DeleteClient

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

DeleteClient deletes the client with given Id from Dex

func (*Client) UpdateClient

func (c *Client) UpdateClient(ctx context.Context, clientID string, redirectUris []string,
	trustedPeers []string, public bool, name string, logoURL string) error

UpdateClient updates an already registered OIDC client

Jump to

Keyboard shortcuts

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