rpserver

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2022 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Copyright © 2022 Jesus Ruiz <hesus.ruiz@gmail.com>

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(cmd *cobra.Command, args []string)

Start is invoked from the CLI and starts a web server for the Relying Party

Types

type RPServer

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

func (*RPServer) HandleReceiveVP

func (rp *RPServer) HandleReceiveVP(c echo.Context) (err error)

HandleReceiveVP is called by the wallet sending the AthorizationResponse

func (*RPServer) HandleStartSIOP

func (rp *RPServer) HandleStartSIOP(c echo.Context) error

HandleStartSIOP is the HTTP handler for the route used by the wallet to start the SIOP flow

type Template

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

func (*Template) Render

func (t *Template) Render(w io.Writer, name string, data interface{}, c echo.Context) error

Jump to

Keyboard shortcuts

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