serviceprovider

package
v0.0.0-...-bf18145 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Metadata []byte
}

type ServiceProvider

type ServiceProvider struct {
	ID       string
	Metadata *md.EntityDescriptorType
	// contains filtered or unexported fields
}

func NewServiceProvider

func NewServiceProvider(id string, config *Config, defaultLoginURL string) (*ServiceProvider, error)

func (*ServiceProvider) GetEntityID

func (sp *ServiceProvider) GetEntityID() string

func (*ServiceProvider) LoginURL

func (sp *ServiceProvider) LoginURL(id string) string

func (*ServiceProvider) ValidatePostSignature

func (sp *ServiceProvider) ValidatePostSignature(authRequest string) error

func (*ServiceProvider) ValidateRedirectSignature

func (sp *ServiceProvider) ValidateRedirectSignature(request, relayState, sigAlg, expectedSig string) error

Jump to

Keyboard shortcuts

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