mocks

package
v0.0.0-...-5e2de36 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	mock.Mock
}

Config is an autogenerated mock type for the Config type

func (*Config) JWTSecret

func (_m *Config) JWTSecret() string

JWTSecret provides a mock function with given fields:

func (*Config) TokenTimeout

func (_m *Config) TokenTimeout() time.Duration

TokenTimeout provides a mock function with given fields:

type Service

type Service struct {
	mock.Mock
}

Service is an autogenerated mock type for the API type

func (*Service) ClaimsFromTokenString

func (_m *Service) ClaimsFromTokenString(tokenString string) (map[string]string, error)

ClaimsFromTokenString provides a mock function with given fields: tokenString

func (*Service) TokenStringForClaims

func (_m *Service) TokenStringForClaims(claims map[string]string) (string, error)

TokenStringForClaims provides a mock function with given fields: claims

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL