jumpcloud

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: MIT Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetApplicationMetadataXml added in v0.3.5

func GetApplicationMetadataXml(orgId string, applicationId string, apiKey string) (string, error)

Gets an application's metadata XML for SAML authentication this direct API call is a needed workaround since JumpCloud does not offer this endpoint through its SDK

func Provider

func Provider() *schema.Provider

Provider instantiates a terraform provider for Jumpcloud This includes all operations on all supported resources and global Jumpcloud parameters

Types

type Config

type Config struct {
	APIKey string // User specific auth token
	OrgID  string // Organization ID
}

Config holds the JC configuration

func (*Config) Client

func (c *Config) Client() (interface{}, error)

Client instantiates a jcapiv2.Configuration struct that is passed to every Resource operation

type UserGroup

type UserGroup struct {
	// ID uniquely identifies a User Group.
	ID string `json:"id,omitempty"`

	// Type is the type of the group.
	Type string `json:"type,omitempty"`

	// Display name of a User Group.
	Name       string                      `json:"name,omitempty"`
	Attributes jcapiv2.UserGroupAttributes `json:"attributes,omitempty"`
}

UserGroup is like jcapiv2.UserGroup with Attributes

Jump to

Keyboard shortcuts

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