Documentation ¶
Index ¶
- Variables
- func Delete(c *golangsdk.ServiceClient, idpID string, protocolID string) *golangsdk.ErrResult
- type IdentityProtocol
- func Create(c *golangsdk.ServiceClient, idpID, protocolID string, mappingID string) (*IdentityProtocol, error)
- func Get(c *golangsdk.ServiceClient, idpID string, protocolID string) (*IdentityProtocol, error)
- func List(c *golangsdk.ServiceClient, idpID string) ([]IdentityProtocol, error)
- func Update(c *golangsdk.ServiceClient, idpID string, id string, mappingID string) (*IdentityProtocol, error)
- type ProtocolLinks
- type ProtocolOption
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 IdentityProtocol ¶
type IdentityProtocol struct { ID string `json:"id"` MappingID string `json:"mapping_id"` Links ProtocolLinks `json:"links"` }
func Create ¶
func Create(c *golangsdk.ServiceClient, idpID, protocolID string, mappingID string) (*IdentityProtocol, error)
func Get ¶
func Get(c *golangsdk.ServiceClient, idpID string, protocolID string) (*IdentityProtocol, error)
func List ¶
func List(c *golangsdk.ServiceClient, idpID string) ([]IdentityProtocol, error)
func Update ¶
func Update(c *golangsdk.ServiceClient, idpID string, id string, mappingID string) (*IdentityProtocol, error)
type ProtocolLinks ¶
type ProtocolOption ¶
type ProtocolOption struct {
MappingID string `json:"mapping_id,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.