![]() Int The ID of the user, who gave access to the app. String The type of the token (always bearer). String A token that could be used to call pCloud API methods. Token flow These parameters are pased in the URI fragment (after #) Parameter Redirect_uri?code=XXXXX&state=YYYYY&locationid=&hostname= Consequent API calls have to be made to that host name. Number The ID for the location of the data center where the user is located. String The contents of the state parameter, that was passed. String The authorization code that could be exchanged for a bearer token by calling oauth2_token On approval redirects to: Code flow These parameters are pased in the query string (after ?) Parameter Currently the only option is manageshares If set additional permissions will appear in the approval form. String opaque data that will be passed back to redirect_uri.īool if set, will force re-approval even if the application is already approved by the user.Ī comma (,) separated list. state: string The contents of the state parameter, that was passed. uid: int The ID of the user, who gave access to the app. tokentype: string The type of the token (always bearer). String where to redirect after approval, mandatory for token, optional for code (code will be displayed to the user in this case). string A token that could be used to call pCloud API methods. Token flow is appropriate for pure client-side apps - such for mobile devices or based only on JavaScript. It does not rquires your app to initiate a second call to pCloud API.Ĭode flow is recommended if the app is using a server. ![]() ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |