Skip to content

Commit da1d238

Browse files
committed
add a getter for GoogleToken.openIdToken. I need to send it to my
backend for openId validation.
1 parent a8e7f2e commit da1d238

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scribejava-apis/src/main/java/com/github/scribejava/apis/google/GoogleToken.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ public GoogleToken(final String token, final String secret, final String rawResp
1717
super(token, secret, rawResponse);
1818
this.openIdToken = openIdToken;
1919
}
20+
21+
public String getOpenIdToken() {
22+
return openIdToken;
23+
}
2024

2125
@Override
2226
public String toString() {

0 commit comments

Comments
 (0)