Documentation ¶
Index ¶
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 ¶
Types ¶
type CreateProviderOpts ¶
type Provider ¶
type Provider struct { SsoType string `json:"sso_type"` ID string `json:"id"` Description string `json:"description"` Enabled bool `json:"enabled"` RemoteIDs []string `json:"remote_ids"` Links ProviderLinks `json:"links"` }
func Create ¶
func Create(c *golangsdk.ServiceClient, id string, opts CreateProviderOpts) (*Provider, error)
func Update ¶
func Update(c *golangsdk.ServiceClient, id string, opts UpdateOpts) (*Provider, error)
type ProviderLinks ¶
type ProviderList ¶
type ProviderList struct { Links ProviderLinks `json:"links"` IdentityProviders []Provider `json:"identity_providers"` }
type UpdateOpts ¶
Click to show internal directories.
Click to hide internal directories.