authverify

package
v3.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAccessV3

func CheckAccessV3(ctx context.Context, ownerUserID string) (err error)

func CheckAdmin

func CheckAdmin(ctx context.Context) error

func CheckIMAdmin added in v3.5.0

func CheckIMAdmin(ctx context.Context) error

func IsAppManagerUid

func IsAppManagerUid(ctx context.Context) bool

func IsManagerUserID

func IsManagerUserID(opUserID string) bool

func ParseRedisInterfaceToken

func ParseRedisInterfaceToken(redisToken any) (*tokenverify.Claims, error)

func Secret

func Secret() jwt.Keyfunc

func WsVerifyToken

func WsVerifyToken(token, userID string, platformID int) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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