cryptstore

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteCrypted

func DeleteCrypted(rlog log.Ext1FieldLogger, tx *sqlx.Tx, cryptID uint64) error

DeleteCrypted deletes an entry from the CryptStore

func GetRefreshToken

func GetRefreshToken(rlog log.Ext1FieldLogger, tx *sqlx.Tx, myid mtid.MTID, jwt string) (string, bool, error)

GetRefreshToken returns the refresh token for a mytoken id

func UpdateRefreshToken

func UpdateRefreshToken(rlog log.Ext1FieldLogger, tx *sqlx.Tx, tokenID mtid.MTID, newRT, jwt string) error

UpdateRefreshToken updates a refresh token in the database, all occurrences of the RT are updated.

Types

This section is empty.

Jump to

Keyboard shortcuts

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