Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLocalAuthenticationMiddleware ¶
NewLocalAuthenticationMiddleware stubs out context info for local (non-Okta) authentication
func NewLocalWebSocketAuthenticationMiddleware ¶
func NewLocalWebSocketAuthenticationMiddleware(store *storage.Store) transport.WebsocketInitFunc
NewLocalWebSocketAuthenticationMiddleware returns a transport.WebsocketInitFunc that uses the `authToken` in the websocket connection payload to authenticate a local user.
func NewOktaAPIClient ¶
func NewOktaAPIClient() (*client, error)
NewOktaAPIClient returns a mock Okta client
Types ¶
type CedarMINTClient ¶
type CedarMINTClient struct{}
CedarMINTClient mocks the CEDAR MINT client for local/test use
func NewCedarMINTClient ¶
func NewCedarMINTClient() *CedarMINTClient
NewCedarMINTClient returns a fake CEDAR MINT Client
func (*CedarMINTClient) CheckConnection ¶
func (c *CedarMINTClient) CheckConnection(context.Context) error
CheckConnection tries to verify if we are able to communicate with the CEDAR API
func (*CedarMINTClient) ValidateAndSubmitSystemIntake ¶
func (c *CedarMINTClient) ValidateAndSubmitSystemIntake(ctx context.Context) (string, error)
ValidateAndSubmitSystemIntake submits a system intake to CEDAR
type DevUserConfig ¶
DevUserConfig is the set of values that can be passed in a request header
Click to show internal directories.
Click to hide internal directories.