nerves_hub_user_api v0.6.0 NervesHubUserAPI.User
Manage NervesHub users
Path: /users
Link to this section Summary
Functions
Validate authentication of an existing user.
Returns information about the user.
Register a new user.
Sign a user certificate for an existing user.
Link to this section Functions
Link to this function
auth(email, password)
Validate authentication of an existing user.
Verb: POST Path: /users/auth
Link to this function
me(auth)
me(auth)
me(NervesHubUserAPI.Auth.t()) :: {:error, any()} | {:ok, any()}
me(NervesHubUserAPI.Auth.t()) :: {:error, any()} | {:ok, any()}
Returns information about the user.
Verb: GET Path: /users/me
Link to this function
register(username, email, password)
Register a new user.
Verb: POST Path: /users/register
Link to this function
sign(email, password, csr, description)
Sign a user certificate for an existing user.
Verb: POST Path: /users/sign