Options
All
  • Public
  • Public/Protected
  • All
Menu

This is the Gadget API client library for:

_ _ | |__ | | ___ __ _ | '_ | |/ _ \ / ` | | |) | | () | (| | |.__/||_/ _, | |/

Built for environment "Development" at version 23 API docs: https://docs.gadget.dev/api/blog Edit this app here: https://blog.gadget.dev/edit

Index

Enumeration Members

Enumeration Members

Durable: "Durable"

Durable authentications ask the browser to keep the user's authentication information around for as long as it can, like the "Remember Me" button on a lot of webpages. Uses window.localStorage to store authentication tokens.

Session: "session"

Session authentications ask the browser to keep the user's authentication information around for a given browser tab, and then remove it when the tab is closed. Useful for high security scenarios where authenticated sessions are sensitive and should be forgotten quickly, or where the user's identity is temporary and only needs to last a short while. Uses window.sessionStorage to store authentication tokens.

Temporary: "temporary"

Temporary authentications don't ask the browser to keep the user's authentication information around at all, such that refreshing the page will result in the user having no saved authentication state and likely being logged out. Useful for high security scenarios where authenticated sessions are sensitive and should be forgotten quickly.

Generated using TypeDoc