Versions in this module Expand all Collapse all v0 v0.0.1 Aug 24, 2023 Changes in this version + var KeycloakPublicKey *rsa.PublicKey + var LocalSessionTokens []*LocalSessionToken + func ListenForSessionClaimed(client authsync.AuthSyncServiceClient) + func ListenForSyncUpdates(client authsync.AuthSyncServiceClient) + func New(ctx context.Context, next http.Handler, config *Config, name string) (http.Handler, error) + type Config struct + AuthServerURL string + GRPCEndpoint string + JwtSecret []byte + KeycloakRealmURL string + SessionCookieName string + TokenCookieName string + var GLOBALCONFIG *Config + func CreateConfig() *Config + type GOInfraAuthMiddleware struct + AuthServerURL string + GuestPublicKey *rsa.PublicKey + KeycloakPublicKey *rsa.PublicKey + SessionCookieName string + TokenCookieName string + func (j *GOInfraAuthMiddleware) ServeHTTP(rw http.ResponseWriter, req *http.Request) + type LocalSessionToken struct + SessionId string + Token string