← Back to catalog

Security

nextAuth

auto-generated
swirls add n_auth
actionGETv1.0.0

Check if the user is logged in

Based on the browser/webserver session identifier, check if the user is logged in and return the associated username. This also returns additional information: the data for the login qr code and whether or not a loggin can be provoked directly from the server. Required permission: 'sessions'.

Source
actionPOSTv1.0.0

Create a new API key.

Create a new API key. Required permission: global 'servers'.

Source
actionPOSTv1.0.0

Create a new server

Create a new server. Required permission: global 'createserver'.

Source
actionDELETEv1.0.0

Delete all accounts of a specific user

Delete all accounts corresponding to this user. The user itself is not deleted. Required permission: 'accounts' or 'users'.

Source
actionGETv1.0.0

Get all accounts

Returns all account. Required permission 'accounts'.

Source
actionGETv1.0.0

Get all API keys.

Get all API keys generated by the current role. Required permission: global 'servers'.

Source
actionGETv1.0.0

Get all global attributes

Returns an array containing all global attributes. Required permission: global 'servers'.

Source
actionGETv1.0.0

Get all users

Returns an array of arrays containing all accounts corresponding to all users. Required permission: 'users'.

Source
actionGETv1.0.0

Get specific account

Returns the account. Required permission: 'sessions' or 'accounts'.

Source
actionGETv1.0.0

List all your servers

List all the servers you have the permissions for. Required permission: 'servers'.

Source
actionPOSTv1.0.0

Push a login confirmation to the user's app

Push a login to the nextAuth app for the user to confirm, based on last account that successfully logged in for the given session. Required permission: 'sessions'.

Source
actionPOSTv1.0.0

Push a login confirmation to the user's app

Push a login to the nextAuth app for the user to confirm, based on the given account (app instance). Required permission: 'sessions' or 'accounts'.

Source
actionPOSTv1.0.0

Set all attributes of a specific server

Set the attributes of a specific server. Prior attributes with keys that are not provided in the body of the request will be deleted. Required permission: 'servers'.

Source
actionPOSTv1.0.0

Set all attributes of a specific user

Set the attributes of a specific user. Prior attributes with keys that are not provided in the body of the request will be deleted. Creates the user if not exists. Required permission: 'users'.

Source
actionPOSTv1.0.0

Set all global attributes

Set the global attributes. Prior attributes with keys that are not provided in the body of the request will be deleted. Required permission: global 'servers'.

Source
actionPOSTv1.0.0

Set all privileged attributes of a specific server

Set the privileged attributes of a specific server. Prior attributes with keys that are not provided in the body of the request will be deleted. Required permission: global 'servers'.

Source
actionPUTv1.0.0

Update privileged specified attributes of a specific server

Update the specified privileged attributes of a specific server. Prior privileged attributes with keys that are not provided in the body of the request will not be deleted. Required permission: global 'servers'.

Source
actionPUTv1.0.0

Update specific account

Update an account. The only available change is (un)blocking the account. Required permission: 'accounts'.

Source
actionPUTv1.0.0

Update specified attributes of a specific server

Update the specified attributes of a specific server. Prior attributes with keys that are not provided in the body of the request will not be deleted. Required permission: 'servers'.

Source
actionPUTv1.0.0

Update specified attributes of a specific user

Update the specified attributes of a specific user. Prior attributes with keys that are not provided in the body of the request will not be deleted. Required permission: 'users'.

Source
actionPUTv1.0.0

Update specified global attributes

Update the specified global attributes. Prior attributes with keys that are not provided in the body of the request will not be deleted. Required permission: 'servers'.

Source
actionGETv1.0.0

Visual hash of this server

Returns a PNG of the visual hash corresponding to this server. This visual hash is used during the registration process (optional), for the user to verify that (s)he is registering with the right server in the nextAuth app. For single-server nextAuth-enabled apps (white label or mobile SDK), the public key of the server is typically pinned within the app and hence this visual hash is not displayed to the user. Required permission: 'sessions' or 'servers'.

Source
Beyond the catalog

Any provider, on request.

01

Request it

Tell us which provider you need, and we will ship it in the registry.

02

Generate it

Point swirls add at an OpenAPI or GraphQL spec. Typed actions for any API you hold credentials for, today.

acme · integrations
terminal
~/acme $swirls add linear
✓ 12 typed actions · scopes and schemas included
 
~/acme $swirls add https://api.acme.dev/openapi.json
◆ Fetched spec · 38 operations
✓ 6 typed actions · generated from spec