Documentation
¶
Index ¶
- type Service
- func (s *Service) AssignRolesToUsers(ctx context.Context, rCtx graph.ResourceContext, ...) (*graph.RoleAssignmentResult, error)
- func (s *Service) KnownUsers(ctx context.Context, sortBy *graph.SortByInput, page *graph.PageInput) (*graph.UserConnection, error)
- func (s *Service) Me(ctx context.Context) (*graph.User, error)
- func (s *Service) RemoveRole(ctx context.Context, rCtx graph.ResourceContext, input graph.RemoveRoleInput) (*graph.RoleRemovalResult, error)
- func (s *Service) Roles(ctx context.Context, context graph.ResourceContext) ([]*graph.Role, error)
- func (s *Service) User(ctx context.Context, userID string) (*graph.User, error)
- func (s *Service) Users(ctx context.Context, rctx graph.ResourceContext, roleFilters []string, ...) (*graph.UserConnection, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewResolverService ¶
func NewResolverService(fgaClient openfgav1.OpenFGAServiceClient, service *keycloak.Service, cfg *config.ServiceConfig, mgr mcmanager.Manager) (*Service, error)
func (*Service) AssignRolesToUsers ¶
func (s *Service) AssignRolesToUsers(ctx context.Context, rCtx graph.ResourceContext, changes []*graph.UserRoleChange, invites []*graph.InviteInput) (*graph.RoleAssignmentResult, error)
func (*Service) KnownUsers ¶ added in v0.10.1
func (s *Service) KnownUsers(ctx context.Context, sortBy *graph.SortByInput, page *graph.PageInput) (*graph.UserConnection, error)
func (*Service) RemoveRole ¶
func (s *Service) RemoveRole(ctx context.Context, rCtx graph.ResourceContext, input graph.RemoveRoleInput) (*graph.RoleRemovalResult, error)
func (*Service) Users ¶
func (s *Service) Users(ctx context.Context, rctx graph.ResourceContext, roleFilters []string, sortBy *graph.SortByInput, page *graph.PageInput) (*graph.UserConnection, error)
Click to show internal directories.
Click to hide internal directories.