Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateSCIMGroupInput ¶
CreateSCIMGroupInput is the input for creating a new SCIM group.
type CreateSCIMUserInput ¶
CreateSCIMUserInput is the input for creating a new SCIM user.
type DeleteSCIMResourceInput ¶
type DeleteSCIMResourceInput struct {
ID string // Metadata ID.
}
DeleteSCIMResourceInput is the input for deleting a SCIM resource.
type GetSCIMResourceInput ¶
type GetSCIMResourceInput struct {
SCIMExternalID string
}
GetSCIMResourceInput is the input for retrieving a SCIM resource.
type Service ¶
type Service interface { CreateSCIMToken(ctx context.Context) ([]byte, error) GetSCIMUsers(ctx context.Context, input *GetSCIMResourceInput) ([]models.User, error) CreateSCIMUser(ctx context.Context, input *CreateSCIMUserInput) (*models.User, error) UpdateSCIMUser(ctx context.Context, input *UpdateResourceInput) (*models.User, error) DeleteSCIMUser(ctx context.Context, input *DeleteSCIMResourceInput) error GetSCIMGroups(ctx context.Context, input *GetSCIMResourceInput) ([]models.Team, error) CreateSCIMGroup(ctx context.Context, input *CreateSCIMGroupInput) (*models.Team, error) UpdateSCIMGroup(ctx context.Context, input *UpdateResourceInput) (*models.Team, error) DeleteSCIMGroup(ctx context.Context, input *DeleteSCIMResourceInput) error }
Service encapsulates the logic for interacting with the SCIM service.
func NewService ¶
NewService creates an instance of Service
type UpdateResourceInput ¶
UpdateResourceInput is the input for updating a SCIM resource.
Click to show internal directories.
Click to hide internal directories.