scim

package
v0.0.0-...-1957489 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client wraps the underlying GRPC client with some more human-friendly tooling

func NewClient

func NewClient(grpcClient scimpb.SCIMServiceClient) *Client

func NewClientFromConn

func NewClientFromConn(cc grpc.ClientConnInterface) *Client

func (*Client) CreateSCIMResource

func (c *Client) CreateSCIMResource(ctx context.Context, req *scimpb.CreateSCIMResourceRequest) (*scimpb.Resource, error)

CreateSCIResource creates a new SCIM resource based on a supplied resource description

func (*Client) DeleteSCIMResource

func (c *Client) DeleteSCIMResource(ctx context.Context, req *scimpb.DeleteSCIMResourceRequest) (*emptypb.Empty, error)

DeleteSCIMResource handles a request to delete a resource.

func (*Client) GetSCIMResource

func (c *Client) GetSCIMResource(ctx context.Context, req *scimpb.GetSCIMResourceRequest) (*scimpb.Resource, error)

GetSCIMResource fetches a single SCIM resource from the server by name

func (*Client) ListSCIMResources

func (c *Client) ListSCIMResources(ctx context.Context, req *scimpb.ListSCIMResourcesRequest) (*scimpb.ResourceList, error)

List fetches all (or a subset of all) resources resources of a given type

func (*Client) UpdateSCIMResource

func (c *Client) UpdateSCIMResource(ctx context.Context, req *scimpb.UpdateSCIMResourceRequest) (*scimpb.Resource, error)

UpdateSCIMResource handles a request to update a resource, returning a representation of the updated resource

Jump to

Keyboard shortcuts

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