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

OpenID authentication and rule-based authorization for Go

License

Notifications You must be signed in to change notification settings

linksmart/go-sec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

OpenID authentication and rule-based authorization for Go

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages