package
Version:
v0.0.6
Opens a new window with list of versions in this module.
Published: Jul 29, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Middleware is the middleware for Dex JWT authentication.
type CustomDexClaims struct {
ProviderID string `json:"provider_id"`
AtHash string `json:"at_hash"`
EmailVerified bool `json:"email_verified"`
EthereumAddress string `json:"ethereum_address"`
}
CustomDexClaims is the custom claims for the token.
Token is the token for the user.
GetDexJWT returns the dex jwt from the context.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.