issuer

package
v0.0.0-...-ef5c1ef Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BatchGenerateCredentials

func BatchGenerateCredentials(issuerConfig *yaml.YAML)

func BatchGenerateLEARCredentials

func BatchGenerateLEARCredentials(issuerConfig *yaml.YAML)

func Setup

func Setup(s *handlers.Server, cfg *yaml.YAML)

Setup creates and setups the Issuer routes

Types

type Issuer

type Issuer struct {
	// contains filtered or unexported fields
}

func (*Issuer) CreateNewCredential

func (i *Issuer) CreateNewCredential(c *fiber.Ctx) error

func (*Issuer) HandleIssuerHome

func (i *Issuer) HandleIssuerHome(c *fiber.Ctx) error

func (*Issuer) IssuerAPIAllCredentials

func (i *Issuer) IssuerAPIAllCredentials(c *fiber.Ctx) error

func (*Issuer) IssuerAPICredential

func (i *Issuer) IssuerAPICredential(c *fiber.Ctx) error

func (*Issuer) IssuerPageCredentialDetails

func (i *Issuer) IssuerPageCredentialDetails(c *fiber.Ctx) error

func (*Issuer) IssuerPageDisplayQRURL

func (i *Issuer) IssuerPageDisplayQRURL(c *fiber.Ctx) error

func (*Issuer) IssuerPageNewCredentialFormDisplay

func (i *Issuer) IssuerPageNewCredentialFormDisplay(c *fiber.Ctx) error

func (*Issuer) IssuerPageNewCredentialFormPost

func (i *Issuer) IssuerPageNewCredentialFormPost(c *fiber.Ctx) error

type NewCredentialForm

type NewCredentialForm struct {
	FirstName  string `form:"firstName,omitempty"`
	FamilyName string `form:"familyName,omitempty"`
	Email      string `form:"email,omitempty"`
	Target     string `form:"target,omitempty"`
	Roles      string `form:"roles,omitempty"`
}

Jump to

Keyboard shortcuts

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