director

package
v0.0.0-...-0e91422 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 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 {
	DexGraphqlClient *gcli.Client
	// contains filtered or unexported fields
}

func NewClient

func NewClient(ctx context.Context, url string, tenant string) (*Client, error)

func (*Client) GenerateApplicationToken

func (c *Client) GenerateApplicationToken(t *testing.T, appID string) (externalschema.Token, error)

func (*Client) GenerateRuntimeToken

func (c *Client) GenerateRuntimeToken(t *testing.T, runtimeID string) (externalschema.Token, error)

type HydratorClient

type HydratorClient struct {
	*testkit.HydratorClient
}

func NewHydratorClient

func NewHydratorClient(validatorURL string) *HydratorClient

func (*HydratorClient) ResolveToken

func (vc *HydratorClient) ResolveToken(t *testing.T, headers map[string][]string) oathkeeper.AuthenticationSession

Jump to

Keyboard shortcuts

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