@@ -86,7 +86,9 @@ start the OAuth2 flow.
8686> | ------------- | --------- | ------------ | -------- | -------- |
8787> | Gmail | g | Email | OAuth2 | Optional |
8888> | Twitter | t | Text | OAuth2 | Required |
89+ > | Telegram | T | Message | PNBA | N/A |
8990> | Reliability | r | Test | event | N/A |
91+ > | Bluesky | b | Text | OAuth2 | Required |
9092
9193---
9294
@@ -110,12 +112,8 @@ Optional fields:
110112| state | string | An opaque value used to maintain state between the request and the callback. |
111113| code_verifier | string | A cryptographic random string used in the PKCE flow. |
112114| autogenerate_code_verifier | bool | If true, a code verifier will be auto-generated if not provided. |
113-
114- Optional fields:
115-
116- | Field | Type | Description |
117- | ------------ | ------ | -------------------------------------------- |
118- | redirect_url | string | The redirect URL for the OAuth2 application. |
115+ | redirect_url | string | The redirect URL for the OAuth2 application. |
116+ | request_identifier | string | A request identifier for tracking the request |
119117
120118---
121119
@@ -167,7 +165,8 @@ localhost:6000 publisher.v1.Publisher/GetOAuth2AuthorizationUrl <payload.json
167165 "platform" : " gmail" ,
168166 "state" : " " ,
169167 "code_verifier" : " " ,
170- "autogenerate_code_verifier" : true
168+ "autogenerate_code_verifier" : true ,
169+ "request_identifier" : " "
171170}
172171```
173172
@@ -269,11 +268,12 @@ tokens in the vault.
269268
270269Optional fields:
271270
272- | Field | Type | Description |
273- | --------------- | ------ | --------------------------------------------------------------------------- |
274- | code_verifier | string | A cryptographic random string used in the PKCE flow. |
275- | redirect_url | string | The redirect URL for the OAuth2 application. |
276- | store_on_device | bool | Indicates if the token should be stored on the device instead of the cloud. |
271+ | Field | Type | Description |
272+ | ------------------ | ------ | --------------------------------------------------------------------------- |
273+ | code_verifier | string | A cryptographic random string used in the PKCE flow. |
274+ | redirect_url | string | The redirect URL for the OAuth2 application. |
275+ | store_on_device | bool | Indicates if the token should be stored on the device instead of the cloud. |
276+ | request_identifier | string | A request identifier for tracking the request |
277277
278278---
279279
@@ -322,7 +322,8 @@ localhost:6000 publisher.v1.Publisher/ExchangeOAuth2CodeAndStore <payload.json
322322 " platform" : " gmail" ,
323323 " authorization_code" : " auth_code" ,
324324 " code_verifier" : " abcdef" ,
325- " store_on_device" : false
325+ " store_on_device" : false,
326+ " request_identifier" : " "
326327}
327328` ` `
328329
@@ -441,6 +442,12 @@ This method sends a one-time passcode (OTP) to the user's phone number for authe
441442| phone_number | string | The phone number to which the OTP is sent. |
442443| platform | string | The platform identifier for which the authorization code is generated. (e.g., "telegram"). |
443444
445+ Optional fields:
446+
447+ | Field | Type | Description |
448+ | ------------------ | ------ | --------------------------------------------- |
449+ | request_identifier | string | A request identifier for tracking the request |
450+
444451---
445452
446453##### Response
@@ -482,7 +489,8 @@ localhost:6000 publisher.v1.Publisher/GetPNBACode <payload.json
482489```json
483490{
484491 "phone_number": "+1234567890",
485- "platform": "telegram"
492+ "platform": "telegram",
493+ "request_identifier": ""
486494}
487495```
488496
@@ -520,9 +528,10 @@ This method exchanges the one-time passcode (OTP) for an access token and stores
520528
521529Optional fields:
522530
523- | Field | Type | Description |
524- | -------- | ------ | --------------------------------------- |
525- | password | string | The password for two-step verification. |
531+ | Field | Type | Description |
532+ | ------------------ | ------ | --------------------------------------------- |
533+ | password | string | The password for two-step verification. |
534+ | request_identifier | string | A request identifier for tracking the request |
526535
527536---
528537
@@ -569,7 +578,8 @@ localhost:6000 publisher.v1.Publisher/ExchangePNBACodeAndStore <payload.json
569578 "long_lived_token": "long_lived_token",
570579 "password": "",
571580 "phone_number": "+1234567890",
572- "platform": "telegram"
581+ "platform": "telegram",
582+ "request_identifier": ""
573583}
574584```
575585
0 commit comments