-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnativephp.json
More file actions
108 lines (108 loc) · 4.58 KB
/
Copy pathnativephp.json
File metadata and controls
108 lines (108 loc) · 4.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"name": "codingwithrk/nativephp-social-auth",
"version": "1.0.0",
"description": "Native Apple Sign-In and Google Sign-In for NativePHP Mobile apps.",
"namespace": "NativephpSocialAuth",
"keywords": ["social-auth", "apple-sign-in", "google-sign-in", "authentication", "sso"],
"category": "authentication",
"license": "MIT",
"pricing": {
"type": "free"
},
"author": {
"name": "CodingwithRK",
"email": "pappalarajkumar@gmail.com",
"url": "https://codingwithrk.com"
},
"homepage": "",
"repository": "",
"funding": [],
"platforms": ["android", "ios"],
"icon": "resources/icon.png",
"screenshots": [],
"bridge_functions": [
{
"name": "NativephpSocialAuth.AppleSignIn",
"android": "com.codingwithrk.plugins.nativephp_social_auth.NativephpSocialAuthFunctions.AppleSignIn",
"ios": "NativephpSocialAuthFunctions.AppleSignIn",
"description": "Start the native Sign in with Apple flow (iOS only)"
},
{
"name": "NativephpSocialAuth.GoogleSignIn",
"android": "com.codingwithrk.plugins.nativephp_social_auth.NativephpSocialAuthFunctions.GoogleSignIn",
"ios": "NativephpSocialAuthFunctions.GoogleSignIn",
"description": "Start the native Google Sign-In flow"
},
{
"name": "NativephpSocialAuth.CheckAppleCredentialState",
"android": "com.codingwithrk.plugins.nativephp_social_auth.NativephpSocialAuthFunctions.CheckAppleCredentialState",
"ios": "NativephpSocialAuthFunctions.CheckAppleCredentialState",
"description": "Check whether a previously issued Apple credential is still valid (iOS only)"
},
{
"name": "NativephpSocialAuth.SignOut",
"android": "com.codingwithrk.plugins.nativephp_social_auth.NativephpSocialAuthFunctions.SignOut",
"ios": "NativephpSocialAuthFunctions.SignOut",
"description": "Sign out of the native Google session (Apple has no sign-out API)"
}
],
"android": {
"min_version": 29,
"permissions": [],
"dependencies": {
"implementation": [
"androidx.credentials:credentials:1.6.0",
"androidx.credentials:credentials-play-services-auth:1.6.0",
"com.google.android.libraries.identity.googleid:googleid:1.1.1"
]
},
"meta_data": [
{
"name": "com.codingwithrk.nativephp_social_auth.GOOGLE_SERVER_CLIENT_ID",
"value": "${GOOGLE_SERVER_CLIENT_ID}"
}
]
},
"ios": {
"min_version": "18.0",
"entitlements": {
"com.apple.developer.applesignin": ["Default"]
},
"info_plist": {
"GIDClientID": "${GOOGLE_IOS_CLIENT_ID}",
"GIDServerClientID": "${GOOGLE_SERVER_CLIENT_ID}",
"CFBundleURLTypes": [
{
"CFBundleTypeRole": "Editor",
"CFBundleURLSchemes": ["${GOOGLE_IOS_REVERSED_CLIENT_ID}"]
}
]
},
"dependencies": {
"pods": [
{"name": "GoogleSignIn", "version": "~> 9.0"}
]
}
},
"secrets": {
"GOOGLE_IOS_CLIENT_ID": {
"description": "Google OAuth iOS client ID from Google Cloud Console (Credentials -> OAuth 2.0 Client IDs -> iOS). Only used by the ios block above — required before an iOS build, irrelevant on Android.",
"required": false
},
"GOOGLE_IOS_REVERSED_CLIENT_ID": {
"description": "The iOS client ID reversed, shown as the 'iOS URL scheme' for the iOS OAuth client in Google Cloud Console (e.g. com.googleusercontent.apps.xxx). Only used by the ios block above — required before an iOS build, irrelevant on Android.",
"required": false
},
"GOOGLE_SERVER_CLIENT_ID": {
"description": "Google OAuth Web client ID from the same Cloud project. Used to verify ID tokens on both platforms and required by Android's Credential Manager.",
"required": true
}
},
"events": [
"Codingwithrk\\NativephpSocialAuth\\Events\\AppleSignInCompleted",
"Codingwithrk\\NativephpSocialAuth\\Events\\GoogleSignInCompleted",
"Codingwithrk\\NativephpSocialAuth\\Events\\AppleCredentialStateChecked",
"Codingwithrk\\NativephpSocialAuth\\Events\\SignInFailed"
],
"service_provider": "Codingwithrk\\NativephpSocialAuth\\NativephpSocialAuthServiceProvider"
}