Documentation ¶
Index ¶
- type Client
- func (c *Client) AcceptConsentRequest(params *admin.AcceptConsentRequestParams, _ ...admin.ClientOption) (*admin.AcceptConsentRequestOK, error)
- func (c *Client) AcceptLoginRequest(params *admin.AcceptLoginRequestParams, _ ...admin.ClientOption) (*admin.AcceptLoginRequestOK, error)
- func (c *Client) CreateOAuth2Client(params *admin.CreateOAuth2ClientParams, _ ...admin.ClientOption) (*admin.CreateOAuth2ClientCreated, error)
- func (c *Client) GetConsentRequest(params *admin.GetConsentRequestParams, _ ...admin.ClientOption) (*admin.GetConsentRequestOK, error)
- func (c *Client) GetLoginRequest(params *admin.GetLoginRequestParams, _ ...admin.ClientOption) (*admin.GetLoginRequestOK, error)
- func (c *Client) IntrospectOAuth2Token(params *admin.IntrospectOAuth2TokenParams, _ ...admin.ClientOption) (*admin.IntrospectOAuth2TokenOK, error)
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 (*Client) AcceptConsentRequest ¶
func (c *Client) AcceptConsentRequest(params *admin.AcceptConsentRequestParams, _ ...admin.ClientOption) (*admin.AcceptConsentRequestOK, error)
AcceptConsentRequest accepts the consent request at hydra.
func (*Client) AcceptLoginRequest ¶
func (c *Client) AcceptLoginRequest(params *admin.AcceptLoginRequestParams, _ ...admin.ClientOption) (*admin.AcceptLoginRequestOK, error)
AcceptLoginRequest accepts the login request at hydra.
func (*Client) CreateOAuth2Client ¶
func (c *Client) CreateOAuth2Client(params *admin.CreateOAuth2ClientParams, _ ...admin.ClientOption) (*admin.CreateOAuth2ClientCreated, error)
CreateOAuth2Client creates an oauth2 client at hydra.
func (*Client) GetConsentRequest ¶
func (c *Client) GetConsentRequest(params *admin.GetConsentRequestParams, _ ...admin.ClientOption) (*admin.GetConsentRequestOK, error)
GetConsentRequest fetches the consent request at hydra.
func (*Client) GetLoginRequest ¶
func (c *Client) GetLoginRequest(params *admin.GetLoginRequestParams, _ ...admin.ClientOption) (*admin.GetLoginRequestOK, error)
GetLoginRequest fetches the login request at hydra.
func (*Client) IntrospectOAuth2Token ¶
func (c *Client) IntrospectOAuth2Token(params *admin.IntrospectOAuth2TokenParams, _ ...admin.ClientOption) (*admin.IntrospectOAuth2TokenOK, error)
IntrospectOAuth2Token and return the introspection.
Click to show internal directories.
Click to hide internal directories.