Documentation ¶
Overview ¶
Code generated by "gen"; DO NOT EDIT. This file is meant to be re-generated in place and/or deleted at any time.
Package samlconnection provides the SAML Connections API.
Index ¶
- func Create(ctx context.Context, params *CreateParams) (*clerk.SAMLConnection, error)
- func Delete(ctx context.Context, id string) (*clerk.DeletedResource, error)
- func Get(ctx context.Context, id string) (*clerk.SAMLConnection, error)
- func List(ctx context.Context, params *ListParams) (*clerk.SAMLConnectionList, error)
- func Update(ctx context.Context, id string, params *UpdateParams) (*clerk.SAMLConnection, error)
- type AttributeMappingParams
- type Client
- func (c *Client) Create(ctx context.Context, params *CreateParams) (*clerk.SAMLConnection, error)
- func (c *Client) Delete(ctx context.Context, id string) (*clerk.DeletedResource, error)
- func (c *Client) Get(ctx context.Context, id string) (*clerk.SAMLConnection, error)
- func (c *Client) List(ctx context.Context, params *ListParams) (*clerk.SAMLConnectionList, error)
- func (c *Client) Update(ctx context.Context, id string, params *UpdateParams) (*clerk.SAMLConnection, error)
- type CreateParams
- type ListParams
- type UpdateParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(ctx context.Context, params *CreateParams) (*clerk.SAMLConnection, error)
Create creates a new SAML Connection.
Types ¶
type AttributeMappingParams ¶
type Client ¶
type Client struct {
Backend clerk.Backend
}
Client is used to invoke the SAML Connections API.
func (*Client) Create ¶
func (c *Client) Create(ctx context.Context, params *CreateParams) (*clerk.SAMLConnection, error)
Create creates a new SAML Connection.
type CreateParams ¶
type CreateParams struct { clerk.APIParams Name *string `json:"name,omitempty"` Domain *string `json:"domain,omitempty"` Provider *string `json:"provider,omitempty"` IdpEntityID *string `json:"idp_entity_id,omitempty"` IdpSsoURL *string `json:"idp_sso_url,omitempty"` IdpCertificate *string `json:"idp_certificate,omitempty"` IdpMetadataURL *string `json:"idp_metadata_url,omitempty"` IdpMetadata *string `json:"idp_metadata,omitempty"` AttributeMapping *AttributeMappingParams `json:"attribute_mapping,omitempty"` }
type ListParams ¶
type ListParams struct { clerk.APIParams clerk.ListParams Query *string `json:"query,omitempty"` OrderBy *string `json:"order_by,omitempty"` }
func (*ListParams) ToQuery ¶
func (params *ListParams) ToQuery() url.Values
ToQuery returns query string values from the params.
type UpdateParams ¶
type UpdateParams struct { clerk.APIParams Name *string `json:"name,omitempty"` Domain *string `json:"domain,omitempty"` IdpEntityID *string `json:"idp_entity_id,omitempty"` IdpSsoURL *string `json:"idp_sso_url,omitempty"` IdpCertificate *string `json:"idp_certificate,omitempty"` IdpMetadataURL *string `json:"idp_metadata_url,omitempty"` IdpMetadata *string `json:"idp_metadata,omitempty"` AttributeMapping *AttributeMappingParams `json:"attribute_mapping,omitempty"` Active *bool `json:"active,omitempty"` SyncUserAttributes *bool `json:"sync_user_attributes,omitempty"` AllowSubdomains *bool `json:"allow_subdomains,omitempty"` AllowIdpInitiated *bool `json:"allow_idp_initiated,omitempty"` }
Click to show internal directories.
Click to hide internal directories.