Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) DeleteOAuth2Client ¶
func (*Client) GetOAuth2Client ¶
func (c *Client) GetOAuth2Client(id string) (*OAuth2ClientJSON, bool, error)
func (*Client) PostOAuth2Client ¶
func (c *Client) PostOAuth2Client(o *OAuth2ClientJSON) (*OAuth2ClientJSON, error)
func (*Client) PutOAuth2Client ¶
func (c *Client) PutOAuth2Client(o *OAuth2ClientJSON) (*OAuth2ClientJSON, error)
type OAuth2ClientJSON ¶
type OAuth2ClientJSON struct {
ClientID *string `json:"client_id,omitempty"`
Name string `json:"client_name"`
GrantTypes []string `json:"grant_types"`
ResponseTypes []string `json:"response_types,omitempty"`
Scope string `json:"scope"`
Secret *string `json:"client_secret,omitempty"`
}
OAuth2ClientJSON represents an OAuth2 client digestible by ORY Hydra
Click to show internal directories.
Click to hide internal directories.