44 lines
731 B
Plaintext
44 lines
731 B
Plaintext
---
|
|
title: Authentication Operations
|
|
label: Operations
|
|
order: 30
|
|
---
|
|
|
|
Talk about Auth operations here.
|
|
|
|
#### Me
|
|
|
|
Returns null or logged in user with token (useful for HTTP only)
|
|
|
|
#### Create operation modifications
|
|
|
|
Discuss if verification is required, etc etc
|
|
|
|
#### Init
|
|
|
|
Checks if there have been users created, checks Admin access
|
|
|
|
#### Login
|
|
|
|
HTTP-only cookies, token response. Discuss max login attempts
|
|
|
|
#### Logout
|
|
|
|
Removes HTTP-only cookie
|
|
|
|
#### Refresh
|
|
|
|
Refreshes token (requires valid token)
|
|
|
|
#### Register First User
|
|
|
|
Allows for anyone to register first user through UI
|
|
|
|
#### Forgot Password
|
|
|
|
Takes an email, sends email to that address. Discuss how to customize email
|
|
|
|
#### Access
|
|
|
|
Shows what the user can and cant do.
|