@team-lepisode/capacitor-google-login
v7.0.0
Published
Capacitor Plugin for Google Login
Downloads
9
Readme
@team-lepisode/capacitor-google-login
Capacitor Plugin for Google Login
Install
npm install @team-lepisode/capacitor-google-login
npx cap syncAPI
initialize(...)
initialize(options: GoogleClientInitializationOptions) => Promise<void>| Param | Type |
| ------------- | ----------------------------------------------------------------------------------------------- |
| options | GoogleClientInitializationOptions |
login()
login() => Promise<GoogleLoginResponse>Returns: Promise<GoogleLoginResponse>
logout()
logout() => Promise<void>Interfaces
GoogleClientInitializationOptions
| Prop | Type |
| ------------- | ---------------------------------- |
| android | { clientId: string; } |
| ios | { clientId: string; } |
GoogleLoginResponse
| Prop | Type |
| ----------------- | ------------------- |
| id | string |
| email | string |
| name | string |
| displayName | string |
| familyName | string |
| givenName | string |
| imageUrl | string |
