Skip to content

Commit 4040a50

Browse files
author
frankgreco
committedMar 29, 2017
updating docs
1 parent 26784b3 commit 4040a50

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
## Quick Start
1010

1111
```sh
12+
$ npm install -g yo
1213
$ npm install -g generator-gomicro
1314
$ yo gomicro
1415
```
@@ -144,13 +145,13 @@ Robust logging is streamed to stdout with the following json format:
144145

145146
Basic authentication is enabled by passing the `--basic-auth-file=SOMEFILE` option to the server. Currently, the basic auth credentials last indefinitely, and the password(s) cannot be changed without restarting the server.
146147

147-
The basic auth file is a csv file with exactly 2 columns: password, user name. When using basic authentication from an http client, the server expects an `Authorization` header with the value of `Basic BASE64ENCODED(USER:PASSWORD)`
148+
The basic auth file is a csv file with exactly 2 columns: password, user name. When using basic authentication from an http client, the server expects an `Authorization` header with the value of `Basic BASE64ENCODED(USER:PASSWORD)` By default, `user:pass` is the default credentials
148149

149150
#### Static Token File
150151

151152
The server reads bearer tokens from a file when given the `--token-auth-file=SOMEFILE` option on the command line. Currently, tokens last indefinitely, and the token list cannot be changed without restarting the server.
152153

153-
The token file is a csv file with 1 column: token. When using bearer token authentication from an http client, the server expects an `Authorization` header with a value of `Bearer THETOKEN`. The bearer token must be a character sequence that can be put in an HTTP header value using no more than the encoding and quoting facilities of HTTP.
154+
The token file is a csv file with 1 column: token. When using bearer token authentication from an http client, the server expects an `Authorization` header with a value of `Bearer THETOKEN`. The bearer token must be a character sequence that can be put in an HTTP header value using no more than the encoding and quoting facilities of HTTP. By default, `abc123` is the default token
154155

155156
### SSL
156157

0 commit comments

Comments
 (0)
Please sign in to comment.