Skip to content

Commit 746effe

Browse files
Update README.md
1 parent b3f6dd5 commit 746effe

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -150,20 +150,20 @@ request in the "Authorization" header.
150150
### 5. Reseting the Access Token
151151

152152
If you have an access token set and need to remove it from the property store
153-
you can remove it with the reset() command. Before you can call reset you need
154-
to pass the property store.
153+
you can remove it with the 'reset()' function. Before you can call reset you need
154+
to set the property store.
155155

156156
function clearService(){
157157
OAuth2.createService('drive')
158158
.setPropertyStore(PropertiesService.getUserProperties())
159159
.reset();
160160
}
161161

162-
### 6. Setting the Token format mode
162+
### 6. Setting the Token Format
163163

164164
OAuth services can return a token in two ways: as JSON or an URL encoded
165-
string. You can set what format the the token is in with the setTokenFormat(Mode).
166-
There are two ENUMS to set the mode: TOKEN_FORMAT.FORM_URL_ENCODED and TOKEN_FORMAT.JSON.
165+
string. You can set what format the the token is in with the 'setTokenFormat(Format)'.
166+
There are two ENUMS to set the mode: 'TOKEN_FORMAT.FORM_URL_ENCODED' and 'TOKEN_FORMAT.JSON'.
167167
JSON is set as default if no token format is choosen.
168168

169169
function gitService() {

0 commit comments

Comments
 (0)