Skip to content

Commit 84a1737

Browse files
author
Lai Sim
committed
Modified the README file
1 parent 8cd0ff3 commit 84a1737

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ import Vue from 'vue'
5252
// Just add this line to turn on the offline access mode
5353
Vue.googleAuth().hasOfflineAccess()
5454
55-
Vue.googleAuth().signIn(function (authorization_code) {
55+
Vue.googleAuth().signIn(function (authorizationCode) {
5656
// things to do when sign-in succeeds
5757
}, function (error) {
5858
// things to do when sign-in fails
5959
))
6060
```
6161

62-
The `authorization_code` that is being returned is the `one-time code` that you can send to your backend server, so that the server can exchange for its own access token and refresh token.
62+
The `authorizationCode` that is being returned is the `one-time code` that you can send to your backend server, so that the server can exchange for its own access token and refresh token.
6363

6464
## Usage - Sign-out
6565
Handling Google sign-out

0 commit comments

Comments
 (0)