Documentation
¶
Index ¶
- type Client
- func (c *Client) DeleteOAuth2Client(id string) error
- func (c *Client) GetOAuth2Client(id string) (*OAuth2ClientJSON, bool, error)
- func (c *Client) ListOAuth2Client() ([]*OAuth2ClientJSON, error)
- func (c *Client) PostOAuth2Client(o *OAuth2ClientJSON) (*OAuth2ClientJSON, error)
- func (c *Client) PutOAuth2Client(o *OAuth2ClientJSON) (*OAuth2ClientJSON, error)
- type OAuth2ClientJSON
- type Oauth2ClientCredentials
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) ListOAuth2Client ¶ added in v0.0.4
func (c *Client) ListOAuth2Client() ([]*OAuth2ClientJSON, 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"`
Secret *string `json:"client_secret,omitempty"`
GrantTypes []string `json:"grant_types"`
ResponseTypes []string `json:"response_types,omitempty"`
Scope string `json:"scope"`
Owner string `json:"owner"`
}
OAuth2ClientJSON represents an OAuth2 client digestible by ORY Hydra
func (*OAuth2ClientJSON) WithCredentials ¶ added in v0.0.4
func (oj *OAuth2ClientJSON) WithCredentials(credentials *Oauth2ClientCredentials) *OAuth2ClientJSON
type Oauth2ClientCredentials ¶ added in v0.0.4
Oauth2ClientCredentials represents client ID and password fetched from a Kubernetes secret
Click to show internal directories.
Click to hide internal directories.