mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-22 20:09:41 +01:00
ee7f818674
* implement SASL OAUTHBEARER and draft/bearer * Upgrade JWT lib * Fix an edge case in SASL EXTERNAL * Accept longer SASL responses * review fix: allow multiple token definitions * enhance tests * use SASL utilities from irc-go * test expired tokens
6 lines
185 B
Go
6 lines
185 B
Go
package jwt
|
|
|
|
// TokenOption is a reserved type, which provides some forward compatibility,
|
|
// if we ever want to introduce token creation-related options.
|
|
type TokenOption func(*Token)
|