Documentation ¶
Index ¶
- func CountRTOccurrences(tx *sqlx.Tx, rtID uint64) (count int, err error)
- func DeleteRefreshToken(tx *sqlx.Tx, rtID uint64) error
- func GetRTID(tx *sqlx.Tx, myID mtid.MTID) (rtID uint64, err error)
- func GetRefreshToken(tx *sqlx.Tx, myid mtid.MTID, jwt string) (string, bool, error)
- func UpdateRefreshToken(tx *sqlx.Tx, tokenID mtid.MTID, newRT, jwt string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CountRTOccurrences ¶
CountRTOccurrences counts how many Mytokens use the passed refresh token
func DeleteRefreshToken ¶
DeleteRefreshToken deletes a refresh token
func GetRefreshToken ¶
GetRefreshToken returns the refresh token for a mytoken id
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.