@capgo/capacitor-social-login 0.0.67 → 0.0.68-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -8
- package/android/build.gradle +1 -0
- package/android/src/main/java/ee/forgr/capacitor/social/login/GoogleProvider.java +761 -89
- package/android/src/main/java/ee/forgr/capacitor/social/login/SocialLoginPlugin.java +21 -0
- package/android/src/main/java/ee/forgr/capacitor/social/login/helpers/SocialProvider.java +4 -0
- package/dist/docs.json +15 -3
- package/dist/esm/definitions.d.ts +8 -3
- package/dist/esm/definitions.js.map +1 -1
- package/dist/esm/web.d.ts +6 -3
- package/dist/esm/web.js +244 -101
- package/dist/esm/web.js.map +1 -1
- package/dist/plugin.cjs.js +244 -101
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +244 -101
- package/dist/plugin.js.map +1 -1
- package/ios/Sources/SocialLoginPlugin/GoogleProvider.swift +120 -45
- package/ios/Sources/SocialLoginPlugin/SocialLoginPlugin.swift +15 -15
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -381,11 +381,11 @@ Refresh the access token
|
|
|
381
381
|
|
|
382
382
|
#### GoogleLoginResponse
|
|
383
383
|
|
|
384
|
-
| Prop
|
|
385
|
-
|
|
|
386
|
-
| **`accessToken`**
|
|
387
|
-
| **`
|
|
388
|
-
| **`profile`**
|
|
384
|
+
| Prop | Type |
|
|
385
|
+
| -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
386
|
+
| **`accessToken`** | <code><a href="#accesstoken">AccessToken</a> \| null</code> |
|
|
387
|
+
| **`serverAuthCode`** | <code>string \| null</code> |
|
|
388
|
+
| **`profile`** | <code>{ email: string \| null; familyName: string \| null; givenName: string \| null; id: string \| null; name: string \| null; imageUrl: string \| null; } \| null</code> |
|
|
389
389
|
|
|
390
390
|
|
|
391
391
|
#### AppleProviderResponse
|
|
@@ -441,9 +441,10 @@ Refresh the access token
|
|
|
441
441
|
|
|
442
442
|
#### AuthorizationCode
|
|
443
443
|
|
|
444
|
-
| Prop
|
|
445
|
-
|
|
|
446
|
-
| **`jwt`**
|
|
444
|
+
| Prop | Type | Description |
|
|
445
|
+
| ----------------- | --------------------------- | ----------- |
|
|
446
|
+
| **`jwt`** | <code>string \| null</code> | Jwt |
|
|
447
|
+
| **`accessToken`** | <code>string \| null</code> | accessToken |
|
|
447
448
|
|
|
448
449
|
|
|
449
450
|
#### AuthorizationCodeOptions
|
package/android/build.gradle
CHANGED
|
@@ -63,4 +63,5 @@ dependencies {
|
|
|
63
63
|
testImplementation "junit:junit:$junitVersion"
|
|
64
64
|
androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
|
|
65
65
|
androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
|
|
66
|
+
implementation 'androidx.concurrent:concurrent-futures:1.2.0'
|
|
66
67
|
}
|