Versions in this module Expand all Collapse all v3 v3.4.0 Jun 27, 2019 Changes in this version + const KeyRealm + type Authenticate struct + ClientID string + ClientSecret string + Password *string + Realm string + Scope string + UserName *string + type AuthenticationHandler interface + AuthenticateClient func(Authenticate) (*JWT, error) + AuthenticateUser func(Authenticate) (*JWT, error) + RefreshToken func(Refresh) (*JWT, error) + func NewAuthenticationHandler(gocloak gocloak.GoCloak, realm *string) AuthenticationHandler + type AuthenticationMiddleWare interface + CheckScope func(next echo.HandlerFunc) echo.HandlerFunc + CheckToken func(next echo.HandlerFunc) echo.HandlerFunc + CheckTokenCustomHeader func(next echo.HandlerFunc) echo.HandlerFunc + DecodeAndValidateToken func(next echo.HandlerFunc) echo.HandlerFunc + func NewAuthenticationMiddleWare(gocloak gocloak.GoCloak, realm, clientID, clientSecret, allowedScope string, ...) AuthenticationMiddleWare + type JWT struct + AccessToken string + ExpiresIn int + NotBeforePolicy int + RefreshExpiresIn int + RefreshToken string + Scope string + SessionState string + TokenType string + type Refresh struct + ClientID string + ClientSecret string + Realm string + RefreshToken string Other modules containing this package github.com/Nerzal/gocloak-echo/v4 github.com/Nerzal/gocloak-echo/v5 github.com/Nerzal/gocloak-echo/v8