Versions in this module Expand all Collapse all v0 v0.1.1 Apr 14, 2024 v0.1.0 Apr 14, 2024 Changes in this version + type Config struct + Audience string + Email string + Expires time.Duration + GrandType string + ID string + Issuer string + Port int + Subject string + type FakeClaims struct + Email string + GrantType string + type FakeJWTServer struct + func NewFakeJwtServer() *FakeJWTServer + func (f *FakeJWTServer) JwksHandler(writer http.ResponseWriter, request *http.Request) + func (f *FakeJWTServer) Serve() error + func (f *FakeJWTServer) TokenHandler(writer http.ResponseWriter, request *http.Request) + func (f *FakeJWTServer) WithAudience(audience string) *FakeJWTServer + func (f *FakeJWTServer) WithEmail(email string) *FakeJWTServer + func (f *FakeJWTServer) WithExpires(expires time.Duration) *FakeJWTServer + func (f *FakeJWTServer) WithGrandType(grantType string) *FakeJWTServer + func (f *FakeJWTServer) WithID(id string) *FakeJWTServer + func (f *FakeJWTServer) WithIssuer(issuer string) *FakeJWTServer + func (f *FakeJWTServer) WithPort(port int) *FakeJWTServer + func (f *FakeJWTServer) WithSubject(subject string) *FakeJWTServer + type TokenResponse struct + AccessToken string + ExpiresIn int + Message string + TokenType string