middlewares

package
v0.0.0-...-7b97167 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2020 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlockchainAuthentication

func BlockchainAuthentication(w http.ResponseWriter, r *http.Request, next http.HandlerFunc)

BlockchainAuthentication check is user is autehnticate inside the blockchain

func RefreshToken

func RefreshToken(w http.ResponseWriter, r *http.Request, next http.HandlerFunc)

RefreshToken will see if the token is over expiration time

func ResetMultiFactor

func ResetMultiFactor(w http.ResponseWriter, r *http.Request, next http.HandlerFunc)

ResetMultiFactor will set all the multifactor value to false

func TokenAuthentication

func TokenAuthentication(rw http.ResponseWriter, req *http.Request, next http.HandlerFunc)

TokenAuthentication middleware for vaidation token

Types

This section is empty.

Jump to

Keyboard shortcuts

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