Documentation
¶
Index ¶
- func CreateUserModelFromCS3(u *cs3.User) *msgraph.User
- type Backend
- type CS3
- func (i *CS3) GetGroup(ctx context.Context, groupID string) (*msgraph.Group, error)
- func (i *CS3) GetGroups(ctx context.Context, queryParam url.Values) ([]*msgraph.Group, error)
- func (i *CS3) GetUser(ctx context.Context, userID string) (*msgraph.User, error)
- func (i *CS3) GetUsers(ctx context.Context, queryParam url.Values) ([]*msgraph.User, error)
- type LDAP
- func (i *LDAP) GetGroup(ctx context.Context, groupID string) (*msgraph.Group, error)
- func (i *LDAP) GetGroups(ctx context.Context, queryParam url.Values) ([]*msgraph.Group, error)
- func (i *LDAP) GetUser(ctx context.Context, userID string) (*msgraph.User, error)
- func (i *LDAP) GetUsers(ctx context.Context, queryParam url.Values) ([]*msgraph.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Backend ¶
type Backend interface {
GetUser(ctx context.Context, nameOrId string) (*msgraph.User, error)
GetUsers(ctx context.Context, queryParam url.Values) ([]*msgraph.User, error)
GetGroup(ctx context.Context, nameOrId string) (*msgraph.Group, error)
GetGroups(ctx context.Context, queryParam url.Values) ([]*msgraph.Group, error)
}
Click to show internal directories.
Click to hide internal directories.