Sfoglia il codice sorgente

add docs for generating query param for access token

ksurl 2 anni fa
parent
commit
5379474c41
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. 6 0
      docs/publish.md

+ 6 - 0
docs/publish.md

@@ -3238,6 +3238,12 @@ The following command will generate the appropriate value for you on *nix system
 echo -n "Basic `echo -n 'testuser:fakepassword' | base64`" | base64 | tr -d '='
 ```
 
+For access tokens, you can use this instead:
+
+```
+echo -n "Bearer faketoken" | base64 | tr -d '='
+```
+
 ## Advanced features
 
 ### Message caching