File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -150,20 +150,20 @@ request in the "Authorization" header.
150150### 5. Reseting the Access Token
151151
152152If 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
164164OAuth 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' .
167167JSON is set as default if no token format is choosen.
168168
169169 function gitService() {
You can’t perform that action at this time.
0 commit comments