mirror of
https://github.com/paralus/paralus.git
synced 2026-05-14 04:16:59 +00:00
21 lines
263 B
Go
21 lines
263 B
Go
package saml
|
|
|
|
import (
|
|
"github.com/crewjam/saml/samlsp"
|
|
"github.com/uptrace/bun"
|
|
)
|
|
|
|
type SAMLMiddleware struct {
|
|
*samlsp.Middleware
|
|
}
|
|
|
|
type SAMLService struct {
|
|
db *bun.DB
|
|
}
|
|
|
|
func NewSAMLService(db *bun.DB) *SAMLService {
|
|
return &SAMLService{
|
|
db: db,
|
|
}
|
|
}
|