You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Use no authentication at all, and get access only to the data that the Unauthenticated backend role has access to.
96
+
/**
97
+
* Use no authentication at all, and get access only to the data that the Unauthenticated backend role has access to.
98
+
*/
93
99
anonymous?: true;
94
100
95
-
// @private Use an internal platform auth token for authentication
96
-
// This is used to communicate within Gadget itself and shouldn't be used to connect to Gadget from other systems
101
+
/**
102
+
* Use a JWT token signed by another system to authenticate with Gadget. Requires the JWT Auth Plugin to be set up in your Gadget app.
103
+
*/
104
+
jwt?: string;
105
+
106
+
/**
107
+
* @private Use an internal platform auth token for authentication
108
+
* This is used to communicate within Gadget itself and shouldn't be used to connect to Gadget from other systems
109
+
*/
97
110
internalAuthToken?: string;
98
111
99
-
// @private Use a passed custom function for managing authentication. For some fancy integrations that the API client supports, like embedded Shopify apps, we use platform native features to authenticate with the Gadget backend.
112
+
/**
113
+
* @private Use a passed custom function for managing authentication. For some fancy integrations that the API client supports, like embedded Shopify apps, we use platform native features to authenticate with the Gadget backend.
0 commit comments