api

package
v0.0.0-...-4a37bdd Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompleteIrmaSession

func CompleteIrmaSession(w http.ResponseWriter, r *http.Request)

CompleteIrmaSession returns the result of the IRMA session to the frontend diva-react expects a serialized irmaSessionResult object, but you can change it before sending to the frontend

func GetSession

func GetSession(w http.ResponseWriter, r *http.Request)

GetSession returns all the session data we have to the frontend It's not used by diva-react, so you can remove this handler if you do not need it func GetSession(store *sessions.FilesystemStore) http.HandlerFunc {

func StartIrmaSession

func StartIrmaSession(w http.ResponseWriter, r *http.Request)

StartIrmaSession starts a new IRMA session, you can add logic here to check if this request is allowed

Types

This section is empty.

Jump to

Keyboard shortcuts

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