This repository includes security packages for LinkSmart Go services.
go get github.com/linksmart/go-sec
It includes the following packages:
Auth consists of the following subpackages:
github.com/linksmart/go-sec/auth/obtainer
interface to obtain OpenID Connect tokensgithub.com/linksmart/go-sec/auth/validator
interface to validate OpenID Connect tokensgithub.com/linksmart/go-sec/auth/keycloak
with two packages implementating obtainer and validator for Keycloak
Documentation:
Package github.com/linksmart/go-sec/authz
is a simple rule-based authorization that can be used to implement access control in services after authentication.
Documentation:
The dependencies of this package are managed by Go Modules.