Documentation ¶
Index ¶
- type Azure
- func (a *Azure) AddMember(ctx context.Context, groupID, userID string) error
- func (a *Azure) AssignRole(ctx context.Context, roleID, userID string) error
- func (a *Azure) CreateGroup(ctx context.Context, name string, options *directory.CreateGroupOptions) (*directory.Group, error)
- func (a *Azure) CreateRole(ctx context.Context, groupID, name string, ...) (*directory.Role, error)
- func (a *Azure) CreateUser(ctx context.Context, username string, options *directory.CreateUserOptions) (*directory.User, error)
- func (a *Azure) DeleteGroup(ctx context.Context, groupID string, options *directory.DeleteGroupOptions) error
- func (a *Azure) DeleteRole(ctx context.Context, roleID string, options *directory.DeleteRoleOptions) error
- func (a *Azure) DeleteUser(ctx context.Context, userID string, options *directory.DeleteUserOptions) error
- func (a *Azure) Group(ctx context.Context, groupID string) (*directory.Group, error)
- func (a *Azure) Groups(ctx context.Context, options *directory.GroupListOptions) ([]directory.Group, error)
- func (a *Azure) Members(ctx context.Context, groupID string, options *directory.MemberListOptions) ([]directory.Member, error)
- func (a *Azure) RemoveMember(ctx context.Context, groupID, userID string) error
- func (a *Azure) RemoveRole(ctx context.Context, roleID, userID string) error
- func (a *Azure) Role(ctx context.Context, roleID string) (*directory.Role, error)
- func (a *Azure) Roles(ctx context.Context, groupID string, options *directory.RoleListOptions) ([]directory.Role, error)
- func (a *Azure) UpdateGroup(ctx context.Context, groupID string, options *directory.UpdateGroupOptions) (*directory.Group, error)
- func (a *Azure) UpdateUser(ctx context.Context, userID string, options *directory.UpdateUserOptions) (*directory.User, error)
- func (a *Azure) User(ctx context.Context, userID string) (*directory.User, error)
- func (a *Azure) Users(ctx context.Context, options *directory.UserListOptions) ([]directory.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Azure ¶
type Azure struct { TenantID string Domain string Domains []string // contains filtered or unexported fields }
func FromEnvironment ¶
func (*Azure) AssignRole ¶
func (*Azure) CreateGroup ¶
func (*Azure) CreateRole ¶
func (*Azure) CreateUser ¶
func (*Azure) DeleteGroup ¶
func (*Azure) DeleteRole ¶
func (*Azure) DeleteUser ¶
func (*Azure) RemoveMember ¶
func (*Azure) RemoveRole ¶
func (*Azure) UpdateGroup ¶
func (*Azure) UpdateUser ¶
Click to show internal directories.
Click to hide internal directories.