Versions in this module Expand all Collapse all v0 v0.2.1 Aug 31, 2021 Changes in this version + type Server struct + APIPath string + APIServerURL string + APITransport *http.Transport + BaseAddress string + BearerToken string + JWTTokenRSAKey *rsa.PublicKey + OAuthServer *oauth.OAuth + func (s Server) APIProxy() http.Handler + func (s Server) AddCodeAuthentication(next http.Handler, w http.ResponseWriter, r *http.Request) + func (s Server) AddJWTAuthentication(next http.Handler, w http.ResponseWriter, r *http.Request) + func (s Server) AuthMiddleware(next http.Handler) http.Handler + func (s Server) GetRequestAuthCode(w http.ResponseWriter, r *http.Request) (string, error) + func (s Server) GetRequestToken(w http.ResponseWriter, r *http.Request) (string, error)