(feat): expose bearer and mode auth schemes in SDK specs

This commit is contained in:
Chirag Aggarwal committed 2026-07-02 16:05:06 +05:30
1 parent 4189ab6809
commit 261a4d671f
1 file changed
+27
+27
View File
@@ -153,6 +153,11 @@ class Specs extends Action
'description' => 'Your secret JSON Web Token',
'in' => 'header',
],
'Bearer' => [
'type' => 'http',
'scheme' => 'bearer',
'description' => 'The OAuth access token to authenticate with',
],
'Locale' => [
'type' => 'apiKey',
'name' => 'X-Appwrite-Locale',
@@ -165,6 +170,12 @@ class Specs extends Action
'description' => 'The user session to authenticate with',
'in' => 'header',
],
'Mode' => [
'type' => 'apiKey',
'name' => 'X-Appwrite-Mode',
'description' => '',
'in' => 'header',
],
'DevKey' => [
'type' => 'apiKey',
'name' => 'X-Appwrite-Dev-Key',
@@ -234,6 +245,11 @@ class Specs extends Action
'description' => 'Your secret JSON Web Token',
'in' => 'header',
],
'Bearer' => [
'type' => 'http',
'scheme' => 'bearer',
'description' => 'The OAuth access token to authenticate with',
],
'Locale' => [
'type' => 'apiKey',
'name' => 'X-Appwrite-Locale',
@@ -246,6 +262,12 @@ class Specs extends Action
'description' => 'The user session to authenticate with',
'in' => 'header',
],
'Mode' => [
'type' => 'apiKey',
'name' => 'X-Appwrite-Mode',
'description' => '',
'in' => 'header',
],
'ForwardedUserAgent' => [
'type' => 'apiKey',
'name' => 'X-Forwarded-User-Agent',
@@ -321,6 +343,11 @@ class Specs extends Action
'description' => 'Your secret JSON Web Token',
'in' => 'header',
],
'Bearer' => [
'type' => 'http',
'scheme' => 'bearer',
'description' => 'The OAuth access token to authenticate with',
],
'Locale' => [
'type' => 'apiKey',
'name' => 'X-Appwrite-Locale',