actions

package
v0.0.0-...-707ce52 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2019 License: BSD-3-Clause Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIHandler

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

APIHandler is handles all external calls to the API

func AuthMiddleware

func AuthMiddleware(handler http.Handler) http.Handler

AuthMiddleware checks if the user is logged in. If they are not, it redirects them to the login page.

func ExposeMetadata

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

ExposeMetadata displays the metadata for the application

func IndexHandler

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

IndexHandler serves the home page with the form for submitting internal requests to etla-ec

func InitKeyStore

func InitKeyStore()

InitKeyStore loads the keys for creating the service provider.

func LoadSP

func LoadSP()

LoadSP reloads the service provider

func RedirectToIDP

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

RedirectToIDP takes the place of a login form in a SAMLV2 context

func SAMLCallback

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

SAMLCallback receives assertions from the IDP.

Types

This section is empty.

Jump to

Keyboard shortcuts

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