Mainflux.mainflux/pkg/auth
Dušan Borovčanin 516c02bebe
MF-1378 - Update dependencies (#1379)
* Update dependencies

Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>

* Fix compose files and configs

Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>

* Upgrade image versions

Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>

* Update Postgres version

Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>

* Update test dependencies

Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>

* Fix fkey error handling

Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
2021-05-20 20:53:56 +02:00
..
README.md Add READMEs to pkg packages (#1352) 2021-02-04 20:04:41 +01:00
client.go MF-1378 - Update dependencies (#1379) 2021-05-20 20:53:56 +02:00

README.md

Auth client

Auth client package is used to identify a thing and authorize a thing's access to a channel.

To identify a thing, you need a valid thing key. You retrieve thing's identity in the form of a thing ID. The latter is used in CRUD operations on things and their connections.

To authorize a thing's access to a channel, you need a valid thing ID and a valid channel ID. If a thing is not connected to a channel, the auth client responds with an error. Otherwise, a nil value is returned, signaling the successful authorization.