Skip to content

Commit e341be4

Browse files
committed
Merge pull request #7 from lukezbihlyj/master
Ensure that the AuthCode gets set correctly. Change-Id: Icc29bf695ae993169b70c73ab027a3712fd96eb9
2 parents 4b89976 + b1062be commit e341be4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

GoogleSignInPlugin/Assets/GoogleSignIn/Impl/NativeFuture.cs

+4
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ public GoogleSignInUser Result {
6565
GoogleSignInImpl.GoogleSignIn_GetIdToken(userPtr, out_string,
6666
out_size));
6767

68+
user.AuthCode = OutParamsToString((out_string, out_size) =>
69+
GoogleSignInImpl.GoogleSignIn_GetServerAuthCode(userPtr, out_string,
70+
out_size));
71+
6872
string url = OutParamsToString((out_string, out_size) =>
6973
GoogleSignInImpl.GoogleSignIn_GetImageUrl(userPtr, out_string,
7074
out_size));

0 commit comments

Comments
 (0)