package
0.9.2
Repository: https://github.com/oidc-mytoken/server.git
Documentation: pkg.go.dev

# Functions

CheckMytokensAreForSameUser checks if two mytoken ids belong to the same user.
CheckTokenRevoked checks if a Mytoken has been revoked.
GetMTName returns the name of the mytoken.
GetTokenUsagesAT returns how often a Mytoken was used with a specific restriction to obtain an access token.
GetTokenUsagesOther returns how often a Mytoken was used with a specific restriction to do something else than obtaining an access token.
IncreaseTokenUsageAT increases the usage count for obtaining ATs with a Mytoken and the given restriction.
IncreaseTokenUsageOther increases the usage count for other usages with a Mytoken and the given restriction.
MOMIDHasParent checks if the token for a revocation id is a child of the (potential) parent mytoken.
RevokeMT revokes the passed mytoken and depending on the recursive parameter also its children.
UpdateSeqNo updates the sequence number of a mytoken, i.e.