Scopes to request in addition to 'profile' and 'email' Never expose your APIĬlient_id: 'YOUR_CLIENT_ID.', Warning: This code is meant for demonstration purposes. ![]() The following code snippet shows how to implement offline access in yourĪpplication. It later to obtain a new access token at any time. The user can store the refresh token securely and use Granted consent for your application to call the Business Profile APIs, andĮxchanged an authorization code that's then used to obtain a refresh token, and Google assumes that the user is already signed in with their Google Account, has It's recommended that platforms incorporate thisįunctionality because you can edit, view, and manage listings anytime after the You might want to call the Business Profile APIs on behalf of a user even when Your application to call the Business Profile APIs and exchange theĪuthorization code that's used to obtain refresh and access tokens. Once the user is signed in, they can grant consent for With their Google Account, which is the same account that they use to sign in to Google Sign-In is a secure authentication system that enables users to sign in Install the client library for your language.Ĭlient libraries are available for the following languages: The language-specific examples on this page use Google API Client Libraries The scope has been deprecated and is available to maintainīackward compatibility for existing implementations. Requires one of the following OAuth scopes: The following content provides information about these methods to incorporate You can use the following methods to implement OAuth 2.0: The following image is an example of what the user might see before they provideĬonsent: Methods to incorporate OAuth 2.0 The following image shows additional fields that appear on the OAuth consent The following image shows the application name and logo fields on the OAuth Include a link to your terms of service and privacy policy.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |