Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Latest commit

 

History

History
31 lines (23 loc) · 1.38 KB

README.md

File metadata and controls

31 lines (23 loc) · 1.38 KB

Go-Sec: Security Packages for Go

tests

This repository includes security packages for LinkSmart Go services.

Import

go get github.com/linksmart/go-sec

It includes the following packages:

Auth

GoDoc
Auth consists of the following subpackages:

  • github.com/linksmart/go-sec/auth/obtainer interface to obtain OpenID Connect tokens
  • github.com/linksmart/go-sec/auth/validator interface to validate OpenID Connect tokens
  • github.com/linksmart/go-sec/auth/keycloak with two packages implementating obtainer and validator for Keycloak

Documentation:

Authz

GoDoc
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:

Development

The dependencies of this package are managed by Go Modules.