uaa

package
v0.0.0-...-fb356ce Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIClient

type APIClient interface {
	CreateClient(client gouaa.Client) (*gouaa.Client, error)
	UpdateClient(client gouaa.Client) (*gouaa.Client, error)
	DeleteClient(clientID string) (*gouaa.Client, error)
	ListClients(filter, by string, order gouaa.SortOrder, start, items int) ([]gouaa.Client, gouaa.Page, error)
}

type Client

type Client struct {
	RandFunc func() string
	// contains filtered or unexported fields
}

func New

func New(conf config.UAAConfig, trustedCert string, skipTLSValidation bool) (*Client, error)

func (*Client) CreateClient

func (c *Client) CreateClient(clientID, name, spaceGUID string) (map[string]string, error)

func (*Client) DeleteClient

func (c *Client) DeleteClient(clientID string) error

func (*Client) GetClient

func (c *Client) GetClient(clientID string) (map[string]string, error)

func (*Client) HasClientDefinition

func (c *Client) HasClientDefinition() bool

func (*Client) UpdateClient

func (c *Client) UpdateClient(clientID string, redirectURI, spaceGUID string) (map[string]string, error)

Jump to

Keyboard shortcuts

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