Documentation ¶
Index ¶
- Variables
- type CreateOpts
- type OpenIDConnectConfig
- func Create(c *golangsdk.ServiceClient, idpID string, opts CreateOpts) (*OpenIDConnectConfig, error)
- func Get(c *golangsdk.ServiceClient, idpID string) (*OpenIDConnectConfig, error)
- func Update(c *golangsdk.ServiceClient, idpID string, opts UpdateOpenIDConnectConfigOpts) (*OpenIDConnectConfig, error)
- type UpdateOpenIDConnectConfigOpts
Constants ¶
This section is empty.
Variables ¶
View Source
var RequestOpts = golangsdk.RequestOpts{ MoreHeaders: map[string]string{"Content-Type": "application/json", "X-Language": "en-us"}, }
Functions ¶
This section is empty.
Types ¶
type CreateOpts ¶
type CreateOpts struct { AccessMode string `json:"access_mode" required:"true"` IdpURL string `json:"idp_url" required:"true"` ClientID string `json:"client_id" required:"true"` SigningKey string `json:"signing_key" required:"true"` AuthorizationEndpoint string `json:"authorization_endpoint,omitempty"` Scope string `json:"scope,omitempty"` ResponseType string `json:"response_type,omitempty"` ResponseMode string `json:"response_mode,omitempty"` }
type OpenIDConnectConfig ¶
type OpenIDConnectConfig struct { AccessMode string `json:"access_mode"` IdpURL string `json:"idp_url"` ClientID string `json:"client_id"` AuthorizationEndpoint string `json:"authorization_endpoint"` Scope string `json:"scope"` ResponseType string `json:"response_type"` ResponseMode string `json:"response_mode"` SigningKey string `json:"signing_key"` }
func Create ¶
func Create(c *golangsdk.ServiceClient, idpID string, opts CreateOpts) (*OpenIDConnectConfig, error)
func Get ¶
func Get(c *golangsdk.ServiceClient, idpID string) (*OpenIDConnectConfig, error)
func Update ¶
func Update(c *golangsdk.ServiceClient, idpID string, opts UpdateOpenIDConnectConfigOpts) (*OpenIDConnectConfig, error)
type UpdateOpenIDConnectConfigOpts ¶
type UpdateOpenIDConnectConfigOpts struct { AccessMode string `json:"access_mode" required:"true"` IdpURL string `json:"idp_url" required:"true"` ClientID string `json:"client_id" required:"true"` SigningKey string `json:"signing_key" required:"true"` AuthorizationEndpoint string `json:"authorization_endpoint,omitempty"` Scope string `json:"scope,omitempty"` ResponseType string `json:"response_type,omitempty"` ResponseMode string `json:"response_mode,omitempty"` }
Click to show internal directories.
Click to hide internal directories.