protocols

package
v0.0.0-...-e794f14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 1 Imported by: 2

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

func Delete

func Delete(c *golangsdk.ServiceClient, idpID string, protocolID string) *golangsdk.ErrResult

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 Update

func Update(c *golangsdk.ServiceClient, idpID string, id string, mappingID string) (*IdentityProtocol, error)
type ProtocolLinks struct {
	IdentityProvider string `json:"identity_provider"`
	Self             string `json:"self"`
}

type ProtocolOption

type ProtocolOption struct {
	MappingID string `json:"mapping_id,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL