Versions in this module Expand all Collapse all v8 v8.0.0 Jan 27, 2021 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(ctx context.Context, 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 NewDirectGrantMiddleware(ctx context.Context, gocloak gocloak.GoCloak, ...) 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/v3 github.com/Nerzal/gocloak-echo/v4 github.com/Nerzal/gocloak-echo/v5