business

package
v3.9.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrGLNNoDecision = errors.New("nodecision")
)

Functions

This section is empty.

Types

type GlnDetails

type GlnDetails struct {
	Active     *bool
	Number     *string
	FirstName  *string
	LastName   *string
	Canton     *string
	ZipCode    *string
	City       *string
	Country    *string
	Profession *string
	Error      error
}

type GlnLookupProvider

type GlnLookupProvider interface {
	Lookup(gln string) GlnDetails
}

func NewRefDataLookup

func NewRefDataLookup(logger keycloakb.Logger) GlnLookupProvider

type GlnVerifier

type GlnVerifier interface {
	ValidateGLN(firstName, lastName, gln string) error
}

func NewGlnVerifier

func NewGlnVerifier(providers ...GlnLookupProvider) GlnVerifier

Jump to

Keyboard shortcuts

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