Discover Packages
github.com/KonstantinGasser/datalab
micro-services
service.eventmanager.live
jwts
package
Version:
v0.0.0-...-a67b36e
Opens a new window with list of versions in this module.
Published: Sep 12, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
var (
ErrInvalidJWT = fmt .Errorf ("jwt is no longer valid")
ErrJWTParse = fmt .Errorf ("could not parse jwt token")
ErrCorruptJWT = fmt .Errorf ("jwt could not be parsed (JWT might be corrupted)")
)
func Validate(tokenString string ) (jwt.MapClaims, error )
func WebSocketTicket(sub, origin, app interface{}) (string , error )
type AppClaims struct {
AppUuid, AppOrigin string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.