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
Conteúdo potencialmente sensível ou impróprio
Os exemplos servem apenas como ajuda na tradução da palavra ou da expressão procurada. Eles não são selecionados ou validados por nós e podem conter linguagem inapropriada. Pedimos que reporte exemplos que devem ser modificados ou que não devem ser exibidos. As traduções potencialmente sensivéis, impróprias ou coloquiais geralmente são marcadas em vermelho ou em laranja.