identitymanagement

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthContext

type AuthContext struct {
	// V1 Fields
	Data map[string]string
}

type GetGroupRequest

type GetGroupRequest struct {
	// V1 Fields
	GroupName   string
	AuthContext AuthContext
}

type GetGroupResponse

type GetGroupResponse struct {
	// V1 Fields
	Group Group
}

type Group

type Group struct {
	// V1 Fields
	ID   string
	Name string
}

type IdentityManagement

type IdentityManagement interface {
	ServiceInfo() api.Info

	GetGroup(ctx context.Context, req *GetGroupRequest) (*GetGroupResponse, error)
	ListGroups(ctx context.Context, req *ListGroupsRequest) (*ListGroupsResponse, error)
	ListGroupUsers(ctx context.Context, req *ListGroupUsersRequest) (*ListGroupUsersResponse, error)
	ListUserGroups(ctx context.Context, req *ListUserGroupsRequest) (*ListUserGroupsResponse, error)
}

type ListGroupUsersRequest

type ListGroupUsersRequest struct {
	// V1 Fields
	GroupID     string
	AuthContext AuthContext
}

type ListGroupUsersResponse

type ListGroupUsersResponse struct {
	// V1 Fields
	Users []User
}

type ListGroupsRequest

type ListGroupsRequest struct {
	// V1 Fields
	AuthContext AuthContext
}

type ListGroupsResponse

type ListGroupsResponse struct {
	// V1 Fields
	Groups []Group
}

type ListUserGroupsRequest

type ListUserGroupsRequest struct {
	// V1 Fields
	UserID      string
	AuthContext AuthContext
}

type ListUserGroupsResponse

type ListUserGroupsResponse struct {
	// V1 Fields
	Groups []Group
}

type User

type User struct {
	// V1 Fields
	ID    string
	Name  string
	Email string
}

Jump to

Keyboard shortcuts

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