Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func List ¶
func List(client *golangsdk.ServiceClient) pagination.Pager
Types ¶
type CreateOIDCOpts ¶ added in v0.8.0
type CreateOIDCOpts struct { // Identity provider name. IdpIp string `json:"-"` // Mode to access manage identity provider AccessMode string `json:"access_mode" required:"true"` // URL of the OpenID Connect identity provider. // This field corresponds to the iss field in the ID token. IdpUrl string `json:"idp_url" required:"true"` // ID of a client registered with the OpenID Connect identity provider. ClientId string `json:"client_id" required:"true"` // Authorization endpoint of the OpenID Connect identity provider. AuthEndpoint string `json:"authorization_endpoint,omitempty"` // Scope of authorization requests. Scope string `json:"scope,omitempty"` // Response type ResponseType string `json:"response_type,omitempty"` // Response mode ResponseMode string `json:"response_mode,omitempty"` // SigningKey SigningKey string `json:"signing_key" required:"true"` }
func CreateOIDC ¶ added in v0.8.0
func CreateOIDC(c *golangsdk.ServiceClient, opts CreateOIDCOpts) (*CreateOIDCOpts, error)
func GetOIDC ¶ added in v0.8.0
func GetOIDC(c *golangsdk.ServiceClient, idpId string) (*CreateOIDCOpts, error)
func UpdateOIDC ¶ added in v0.8.0
func UpdateOIDC(c *golangsdk.ServiceClient, opts UpdateOIDCOpts) (*CreateOIDCOpts, error)
type CreateOpts ¶
type CreateOpts struct { ID string `json:"-"` Description string `json:"description,omitempty"` Enabled bool `json:"enabled,omitempty"` }
func (CreateOpts) Id ¶
func (opts CreateOpts) Id() string
func (CreateOpts) ToProviderCreateMap ¶
func (opts CreateOpts) ToProviderCreateMap() (map[string]interface{}, error)
type CreateOptsBuilder ¶
type CreateResult ¶
type CreateResult struct {
// contains filtered or unexported fields
}
func Create ¶
func Create(client *golangsdk.ServiceClient, opts CreateOptsBuilder) (r CreateResult)
type DeleteResult ¶
func Delete ¶
func Delete(client *golangsdk.ServiceClient, id string) (r DeleteResult)
type Provider ¶
type Provider struct { ID string `json:"id"` Description string `json:"description"` Enabled bool `json:"enabled"` RemoteIDs []string `json:"remote_ids"` Links map[string]string `json:"links"` }
func ExtractProviders ¶
func ExtractProviders(r pagination.Page) ([]Provider, error)
type ProviderPage ¶
type ProviderPage struct {
pagination.LinkedPageBase
}
func (ProviderPage) IsEmpty ¶
func (p ProviderPage) IsEmpty() (bool, error)
type UpdateOIDCOpts ¶ added in v0.8.0
type UpdateOIDCOpts struct { // Identity provider name. IdpIp string `json:"-"` // Mode to access manage identity provider AccessMode string `json:"access_mode,omitempty"` // URL of the OpenID Connect identity provider. // This field corresponds to the iss field in the ID token. IdpUrl string `json:"idp_url,omitempty"` // ID of a client registered with the OpenID Connect identity provider. ClientId string `json:"client_id,omitempty"` // Authorization endpoint of the OpenID Connect identity provider. AuthEndpoint string `json:"authorization_endpoint,omitempty"` // Scope of authorization requests. Scope string `json:"scope,omitempty"` // Response type ResponseType string `json:"response_type,omitempty"` // Response mode ResponseMode string `json:"response_mode,omitempty"` // SigningKey SigningKey string `json:"signing_key,omitempty"` }
type UpdateOpts ¶
type UpdateOpts struct { Description string `json:"description,omitempty"` Enabled *bool `json:"enabled,omitempty"` }
func (UpdateOpts) ToUpdateOptsMap ¶
func (opts UpdateOpts) ToUpdateOptsMap() (map[string]interface{}, error)
type UpdateOptsBuilder ¶
type UpdateResult ¶
type UpdateResult struct {
// contains filtered or unexported fields
}
func Update ¶
func Update(client *golangsdk.ServiceClient, id string, opts UpdateOptsBuilder) (r UpdateResult)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.