saml

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssertionProcessor

type AssertionProcessor struct {
	CAData   []byte
	Audience string
	// TODO: verify audience?
	// TODO: NameID stuff?
	// TODO: Encryption?
	UsernameAttr            string
	EmailAttr               string
	GroupsAttr              string
	RedirectURI             string
	DisableNameIDValidation bool
	// contains filtered or unexported fields
}

func (*AssertionProcessor) Init

func (sp *AssertionProcessor) Init() error

func (*AssertionProcessor) Process

func (sp *AssertionProcessor) Process(inResponseTo string, assertions []string) ([]UserInfo, error)

type UserInfo

type UserInfo struct {
	Username string
	Groups   []string
}

Jump to

Keyboard shortcuts

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