hydra

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 6 Imported by: 1

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 decorates the default hydra admin client with TLS configuration.

func NewClient

func NewClient(hydraURL *url.URL, rootCAs *x509.CertPool) *Client

NewClient returns a new Client.

func (*Client) AcceptConsentRequest

func (c *Client) AcceptConsentRequest(params *admin.AcceptConsentRequestParams) (*admin.AcceptConsentRequestOK, error)

AcceptConsentRequest accepts the consent request at hydra.

func (*Client) AcceptLoginRequest

func (c *Client) AcceptLoginRequest(params *admin.AcceptLoginRequestParams) (*admin.AcceptLoginRequestOK, error)

AcceptLoginRequest accepts the login request at hydra.

func (*Client) CreateOAuth2Client

func (c *Client) CreateOAuth2Client(params *admin.CreateOAuth2ClientParams) (*admin.CreateOAuth2ClientCreated, error)

CreateOAuth2Client creates an oauth2 client at hydra.

func (*Client) GetConsentRequest

func (c *Client) GetConsentRequest(params *admin.GetConsentRequestParams) (*admin.GetConsentRequestOK, error)

GetConsentRequest fetches the consent request at hydra.

func (*Client) GetLoginRequest

func (c *Client) GetLoginRequest(params *admin.GetLoginRequestParams) (*admin.GetLoginRequestOK, error)

GetLoginRequest fetches the login request at hydra.

Jump to

Keyboard shortcuts

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