saml

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2022 License: AGPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SAML

type SAML struct {
	SPPublicKey string

	SPPrivatekey string

	JWTPrivatekey string

	HTTPClient http.Client `toml:"-"`
	Domain     string      `toml:"domain"`
	Cookiename string
	// contains filtered or unexported fields
}

SAML is an Applicance to react on Events from the SAML-IDP and that provides an interface to get data from the IDP in a standartised fashion.

func (*SAML) Account

func (s *SAML) Account(c *gin.Context) auth.Account

Account returns the Account representation of the user

func (*SAML) Defaults

func (s *SAML) Defaults() httpserver.SiteConfig

Defaults returns the default values for the config

func (*SAML) Init

func (s *SAML) Init(router *gin.RouterGroup)

Init initalizes the routes

func (*SAML) Setup

func (s *SAML) Setup(config httpserver.SiteConfig) (err error)

Setup sets the saml object up.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL