sentinel v2.0.0 Sentinel.Controllers.Json.UserController
Handles the user create, confirm and invite actions for JSON APIs
Summary
Functions
Confirm either a new user or an existing user’s new email address. Parameter “id” should be the user’s id. Parameter “confirmation” should be the user’s confirmation token. If the confirmation matches, the user will be confirmed and signed in. Responds with status 201 and body {token: token} if successfull. Use this token in subsequent requests as authentication. Responds with status 422 and body {errors: {field: “message”}} otherwise
Creates a new user using the invitable flow, without a password. This sends them an email which links to an endpoint where they can create a password and fill in other account information
Functions
Confirm either a new user or an existing user’s new email address. Parameter “id” should be the user’s id. Parameter “confirmation” should be the user’s confirmation token. If the confirmation matches, the user will be confirmed and signed in. Responds with status 201 and body {token: token} if successfull. Use this token in subsequent requests as authentication. Responds with status 422 and body {errors: {field: “message”}} otherwise.
Creates a new user using the invitable flow, without a password. This sends them an email which links to an endpoint where they can create a password and fill in other account information