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.
Click to show internal directories.
Click to hide internal directories.