refreshtokenrepo

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CountRTOccurrences

func CountRTOccurrences(rlog log.Ext1FieldLogger, tx *sqlx.Tx, rtID uint64) (count int, err error)

CountRTOccurrences counts how many Mytokens use the passed refresh token

func GetRTID

func GetRTID(rlog log.Ext1FieldLogger, tx *sqlx.Tx, myID mtid.MTID) (rtID uint64, err error)

GetRTID returns the refresh token id for a mytoken

Types

This section is empty.

Jump to

Keyboard shortcuts

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