security

package
v2.0.0-...-5918b2a Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2022 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendWhiteList

func AppendWhiteList(items ...string)

AppendWhiteList append to URL white list

func CheckIdentity

func CheckIdentity(ctx iris.Context)

CheckIdentity checking in whitelist, Jwt token, App token

func Decode

func Decode(tokenStr string) (data map[string]interface{}, err error)

Decode JWT token and return Claims

Types

This section is empty.

Jump to

Keyboard shortcuts

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