index
Modules
Classes
vue-gapi
- vue-gapi
- .install(app, clientConfig)
- .useGapi() ⇒
GoogleAuthService
- .Options :
object
.install(app, clientConfig)
See: Plugins
Param | Type | Description |
---|---|---|
app | Vue | Vue application instance |
clientConfig | Options | VueGapi plugin options |
GoogleAuthService
.useGapi() ⇒ Inject the GoogleAuthService
instance via Composition API dependency injection.
object
.Options : gapi.client.init
configuration parameters.
See: gapi.client.init
Properties
Name | Type | Description |
---|---|---|
[apiKey] | string | The API Key to use |
[discoveryDocs] | Array.<string> | An array of discovery doc URLs or discovery doc JSON objects |
[clientId] | string | The app's client ID, found and created in the Google Developers Console |
[scope] | string | The scopes to request, as a space-delimited string |