Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserAPI ¶ added in v1.2.0
type UserAPI struct {
// contains filtered or unexported fields
}
UserAPI - A representation of the user namespace for the MTGJSON API
func New ¶
func New(baseUrl string, client *client.HTTPClient) *UserAPI
New Create a new instance of the UserAPI struct
func (*UserAPI) BaseURL ¶ added in v1.2.0
BaseURL - Returns the baseUrl with its associating endpoint attached to it, used for making HTTP requests
func (*UserAPI) Client ¶ added in v1.2.0
func (api *UserAPI) Client() *client.HTTPClient
Client - Returns a pointer to the client.HTTPClient structure that is used for HTTP requests
func (*UserAPI) DeactivateUser ¶ added in v1.2.0
func (api *UserAPI) DeactivateUser(email string) (*apiModels.APIResponse, error)
DeactivateUser Completely removes the requested user account, both from Auth0 and from MongoDB
Click to show internal directories.
Click to hide internal directories.