Commit graph

20 commits

Author SHA1 Message Date
Tobie Morgan Hitchcock
e3bea0a897 Use context.Context on all kvs requests 2018-05-02 03:05:03 +01:00
Tobie Morgan Hitchcock
d70d063797 Make JWT token values available to scope CONNECT query 2018-03-02 11:03:19 +00:00
Tobie Morgan Hitchcock
c47fe55ffb Ensure any previous auth data is reset if authentication fails 2018-02-14 13:17:05 +00:00
Tobie Morgan Hitchcock
e073bf2775 Enable persistent request variables
It is now possible to set a variable on a connection, and use that variable in multiple subsequent queries. This ensures that websockets can make use of state variables for detecting logged-in, and non-logged-in clients.
2018-02-12 22:13:36 +00:00
Tobie Morgan Hitchcock
a9883efc4a Improve error messages on authentication failure 2018-01-31 08:52:21 +00:00
Tobie Morgan Hitchcock
58b8b461e3 Enable specifying NS, DB, and auth through websocket protocols 2018-01-31 08:52:11 +00:00
Tobie Morgan Hitchcock
2609d761be Improve web layer authentication and session process 2017-11-16 20:52:17 +00:00
Tobie Morgan Hitchcock
e70cdce87e Fix bug with bearer authentication 2017-02-25 22:09:12 +00:00
Tobie Morgan Hitchcock
6e223f5f08 Move authentication level constants to cnf package
Instead of defining the authentication level types as ints in the sql package, there is now a specific type which is now located in the cnf package.
2017-02-24 13:33:03 +00:00
Tobie Morgan Hitchcock
e5a98d4c0c Improve websocket RPC API 2017-02-22 09:00:59 +00:00
Tobie Morgan Hitchcock
05501ba79e Enable CIDR whitelisting for root authentication 2017-02-21 00:09:42 +00:00
Tobie Morgan Hitchcock
c3df9d791d Check websocket subprotocol for auth details 2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
8385719834 Enable specifying NS and DB in http headers 2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
623d55225c Use transaction mem cache for db config data 2017-02-20 01:44:12 +00:00
Tobie Morgan Hitchcock
3ca8fb3acc Ensure $auth.scope is preset on auth variable 2016-11-22 19:12:19 +00:00
Tobie Morgan Hitchcock
2406256417 Process authentication auth data as map 2016-11-22 19:11:33 +00:00
Tobie Morgan Hitchcock
8cdae77483 Generate token keys in SQL and store as binary 2016-11-22 13:51:21 +00:00
Tobie Morgan Hitchcock
94c9631d91 Improve database authentication
Improve the database authentication implementation for namespaces, databases, and scopes.
2016-11-21 18:48:25 +00:00
Tobie Morgan Hitchcock
4452339bd1 Improve authentication blueprint 2016-11-04 15:20:31 +00:00
Tobie Morgan Hitchcock
ee2f34bef0 Add simple authentication blueprint to extend further 2016-11-04 11:23:52 +00:00