Documentation ¶
Index ¶
- type Client
- func (c *Client) CreateUser(ctx context.Context, uid, pwd string, newUser client.User) error
- func (c *Client) DeleteUser(ctx context.Context, uid, pwd, usrToBeDeleted string) error
- func (c *Client) Login(ctx context.Context, uid, pwd string) (string, error)
- func (c *Client) UpdatePassword(ctx context.Context, uid, pwd, usrToBeUpdated, newPwd string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is the client for communicating with the in-cluster uidp
func NewClient ¶
func NewClient() *Client
NewClient creates a new client for communicating with inspr's UID provider.
func (*Client) CreateUser ¶
CreateUser creates a user in inspr's UID provider.
func (*Client) DeleteUser ¶
DeleteUser deletes a user in inspr's UID provider
Click to show internal directories.
Click to hide internal directories.