Po utworzeniu instancji tej klasy i po uwierzytelnieniu użytkownika, aplikacja web2py może uzyskać w każdej chwili dostęp do API dostawcy wykorzystując token dostępowy OAuth2.0 poprzez wywołanie metody accessToken() tej klasy.
Once the class is instantiated, and the user is authenticated, the web2py application can access the API of the provider any time by using the OAuth2.0 access token by calling the accessToken() method of that class.
Żądanie tokena Jeżeli planujesz używać naszego API musisz najpierw poprosić o token.
Whenever you plan on using our API you must first request a token.
Kolejny punkt za nami - uzyskaliśmy token dostępowy, możemy zrobić pierwsze zapytanie do API.
Another step completed - we have the access token so we can send the first API request.
Jeśli chcesz korzystać z API wyłącznie do obsługi własnych danych, utwórz token skryptu.
If you want to use the API for your own data only, create a script token.
Token dostępowy, pozwalający wykonywać operacje na zasobach API w imieniu zalogowanego użytkownika
Access token which enables to perform operations on API resources on behalf of a user that is logged in
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.
Înregistrează-te pentru a accesa mai multe exemple