idpcontroller

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2022 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminMetadata

type AdminMetadata struct {
	CertificateURL string `json:"certificateUrl"`
	SpBaseURL      string `json:"spBaseUrl"`
	SpEntityID     string `json:"spEntityId"`
	SpMetadataURL  string `json:"spMetadataUrl"`
	SpPostURL      string `json:"spPostUrl"`
}

type IdpController

type IdpController struct {
	AdminSpSigningCertID        string         `json:"adminSpSigningCertId,omitempty"`
	AutoProvision               string         `json:"autoProvision,omitempty"`
	CreationTime                string         `json:"creationTime,omitempty"`
	Description                 string         `json:"description,omitempty"`
	DisableSamlBasedPolicy      bool           `json:"disableSamlBasedPolicy"`
	Domainlist                  []string       `json:"domainList,omitempty"`
	EnableScimBasedPolicy       bool           `json:"enableScimBasedPolicy"`
	Enabled                     bool           `json:"enabled"`
	ID                          string         `json:"id,omitempty"`
	IdpEntityID                 string         `json:"idpEntityId,omitempty"`
	LoginNameAttribute          string         `json:"loginNameAttribute,omitempty"`
	LoginURL                    string         `json:"loginUrl,omitempty"`
	ModifiedBy                  string         `json:"modifiedBy,omitempty"`
	ModifiedTime                string         `json:"modifiedTime,omitempty"`
	Name                        string         `json:"name,omitempty"`
	ReauthOnUserUpdate          bool           `json:"reauthOnUserUpdate"`
	RedirectBinding             bool           `json:"redirectBinding"`
	ScimEnabled                 bool           `json:"scimEnabled"`
	ScimServiceProviderEndpoint string         `json:"scimServiceProviderEndpoint,omitempty"`
	ScimSharedSecretExists      bool           `json:"scimSharedSecretExists,omitempty"`
	SignSamlRequest             string         `json:"signSamlRequest,,omitempty"`
	SsoType                     []string       `json:"ssoType,omitempty"`
	UseCustomSpMetadata         bool           `json:"useCustomSPMetadata"`
	UserSpSigningCertID         string         `json:"userSpSigningCertId,omitempty"`
	AdminMetadata               *AdminMetadata `json:"adminMetadata,omitempty"`
	UserMetadata                *UserMetadata  `json:"userMetadata,omitempty"`
}

type Service

type Service struct {
	Client *zpa.Client
}

func New

func New(c *zpa.Client) *Service

func (*Service) Get

func (service *Service) Get(IdpID string) (*IdpController, *http.Response, error)

func (*Service) GetAll added in v0.0.4

func (service *Service) GetAll() ([]IdpController, *http.Response, error)

func (*Service) GetByName

func (service *Service) GetByName(idpName string) (*IdpController, *http.Response, error)

type UserMetadata

type UserMetadata struct {
	CertificateURL string `json:"certificateUrl,omitempty"`
	SpBaseURL      string `json:"spBaseUrl"`
	SpEntityID     string `json:"spEntityId,omitempty"`
	SpMetadataURL  string `json:"spMetadataUrl,omitempty"`
	SpPostURL      string `json:"spPostUrl,omitempty"`
}

Jump to

Keyboard shortcuts

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