Documentation ¶
Overview ¶
package admin provides an implementation of the API described in auth/schema/adminschema.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminAPI ¶
type AdminAPI struct {
// contains filtered or unexported fields
}
AdminAPI provides the logic necessary to implement the Admin API.
func NewAdminAPI ¶
func NewAdminAPI(userManager *manager.UserManager, userRepo user.UserRepo, pwiRepo user.PasswordInfoRepo, localConnectorID string) *AdminAPI
func (*AdminAPI) CreateAdmin ¶
func (a *AdminAPI) CreateAdmin(admn adminschema.Admin) (string, error)
Click to show internal directories.
Click to hide internal directories.