tokens

package
v0.0.0-...-4834045 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAuthToken

func CheckAuthToken(userId, token string) error

CheckAuthToken Authトークンを検証する

func CheckJwtClaims

func CheckJwtClaims(ctx context.Context, userId string) error

func GenerateAuthTokenByUserId

func GenerateAuthTokenByUserId(userId, name string) (string, error)

GenerateAuthTokenByUserId userIdからAuthトークンを発行する

func GetRefreshToken

func GetRefreshToken(ctx context.Context) (string, error)

GetRefreshToken リフレッシュトークンを取得する

Types

This section is empty.

Jump to

Keyboard shortcuts

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