Documentation ¶
Index ¶
- func BlockchainAuthentication(w http.ResponseWriter, r *http.Request, next http.HandlerFunc)
- func RefreshToken(w http.ResponseWriter, r *http.Request, next http.HandlerFunc)
- func ResetMultiFactor(w http.ResponseWriter, r *http.Request, next http.HandlerFunc)
- func TokenAuthentication(rw http.ResponseWriter, req *http.Request, next http.HandlerFunc)
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.
Click to show internal directories.
Click to hide internal directories.