metadatas

package
v0.0.0-...-57791d6 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 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

This section is empty.

Types

type ImportOpts

type ImportOpts struct {
	DomainID string `json:"domain_id" required:"true"`
	Metadata string `json:"metadata" required:"true"`
	// It is not a required field, but this argument must be present in the parameter.
	XAccountType string `json:"xaccount_type"`
}

type Metadata

type Metadata struct {
	ID           string `json:"id"`
	IdpID        string `json:"idp_id"`
	EntityID     string `json:"entity_id"`
	ProtocolID   string `json:"protocol_id"`
	DomainID     string `json:"domain_id"`
	XAccountType string `json:"xaccount_type"`
	UpdateTime   string `json:"update_time"`
	Data         string `json:"data"`
}

func Get

func Get(c *golangsdk.ServiceClient, idpID string, protocolID string) (*Metadata, error)

type MetadataResult

type MetadataResult struct {
	Message string `json:"message"`
}

func Import

func Import(c *golangsdk.ServiceClient, idpID string, protocolID string, opts ImportOpts) (*MetadataResult, error)

Jump to

Keyboard shortcuts

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