{"modulePath":"github.com/justtrackio/gosoline","version":"v0.69.5","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package mocks\n\n## Types\n\n```go\ntype Authenticator struct {\n\tmock.Mock\n}\n```\nAuthenticator is an autogenerated mock type for the Authenticator type\n\n```go\nfunc NewAuthenticator(t interface {\n\tmock.TestingT\n\tCleanup(func())\n}) *Authenticator\n```\nNewAuthenticator creates a new instance of Authenticator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a \\*testing.T value.\n\n```go\nfunc (_m *Authenticator) EXPECT() *Authenticator_Expecter\n```\n\n```go\nfunc (_m *Authenticator) IsValid(ginCtx *gin.Context) (bool, error)\n```\nIsValid provides a mock function with given fields: ginCtx\n\n```go\ntype Authenticator_Expecter struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (_e *Authenticator_Expecter) IsValid(ginCtx interface{}) *Authenticator_IsValid_Call\n```\nIsValid is a helper method to define mock.On call\n\n  - ginCtx \\*gin.Context\n\n```go\ntype Authenticator_IsValid_Call struct {\n\t*mock.Call\n}\n```\nAuthenticator\\_IsValid\\_Call is a \\*mock.Call that shadows Run/Return methods with type explicit version for method 'IsValid'\n\n```go\nfunc (_c *Authenticator_IsValid_Call) Return(_a0 bool, _a1 error) *Authenticator_IsValid_Call\n```\n\n```go\nfunc (_c *Authenticator_IsValid_Call) Run(run func(ginCtx *gin.Context)) *Authenticator_IsValid_Call\n```\n\n```go\nfunc (_c *Authenticator_IsValid_Call) RunAndReturn(run func(*gin.Context) (bool, error)) *Authenticator_IsValid_Call\n```\n\n```go\ntype JwtTokenHandler struct {\n\tmock.Mock\n}\n```\nJwtTokenHandler is an autogenerated mock type for the JwtTokenHandler type\n\n```go\nfunc NewJwtTokenHandler(t interface {\n\tmock.TestingT\n\tCleanup(func())\n}) *JwtTokenHandler\n```\nNewJwtTokenHandler creates a new instance of JwtTokenHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a \\*testing.T value.\n\n```go\nfunc (_m *JwtTokenHandler) EXPECT() *JwtTokenHandler_Expecter\n```\n\n```go\nfunc (_m *JwtTokenHandler) Sign(user auth.SignUserInput) (*string, error)\n```\nSign provides a mock function with given fields: user\n\n```go\nfunc (_m *JwtTokenHandler) SignClaims(claims auth.Claims) (*string, error)\n```\nSignClaims provides a mock function with given fields: claims\n\n```go\nfunc (_m *JwtTokenHandler) Valid(jwtToken string) (bool, *jwt.Token, error)\n```\nValid provides a mock function with given fields: jwtToken\n\n```go\ntype JwtTokenHandler_Expecter struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (_e *JwtTokenHandler_Expecter) Sign(user interface{}) *JwtTokenHandler_Sign_Call\n```\nSign is a helper method to define mock.On call\n\n  - user auth.SignUserInput\n\n```go\nfunc (_e *JwtTokenHandler_Expecter) SignClaims(claims interface{}) *JwtTokenHandler_SignClaims_Call\n```\nSignClaims is a helper method to define mock.On call\n\n  - claims auth.Claims\n\n```go\nfunc (_e *JwtTokenHandler_Expecter) Valid(jwtToken interface{}) *JwtTokenHandler_Valid_Call\n```\nValid is a helper method to define mock.On call\n\n  - jwtToken string\n\n```go\ntype JwtTokenHandler_SignClaims_Call struct {\n\t*mock.Call\n}\n```\nJwtTokenHandler\\_SignClaims\\_Call is a \\*mock.Call that shadows Run/Return methods with type explicit version for method 'SignClaims'\n\n```go\nfunc (_c *JwtTokenHandler_SignClaims_Call) Return(_a0 *string, _a1 error) *JwtTokenHandler_SignClaims_Call\n```\n\n```go\nfunc (_c *JwtTokenHandler_SignClaims_Call) Run(run func(claims auth.Claims)) *JwtTokenHandler_SignClaims_Call\n```\n\n```go\nfunc (_c *JwtTokenHandler_SignClaims_Call) RunAndReturn(run func(auth.Claims) (*string, error)) *JwtTokenHandler_SignClaims_Call\n```\n\n```go\ntype JwtTokenHandler_Sign_Call struct {\n\t*mock.Call\n}\n```\nJwtTokenHandler\\_Sign\\_Call is a \\*mock.Call that shadows Run/Return methods with type explicit version for method 'Sign'\n\n```go\nfunc (_c *JwtTokenHandler_Sign_Call) Return(_a0 *string, _a1 error) *JwtTokenHandler_Sign_Call\n```\n\n```go\nfunc (_c *JwtTokenHandler_Sign_Call) Run(run func(user auth.SignUserInput)) *JwtTokenHandler_Sign_Call\n```\n\n```go\nfunc (_c *JwtTokenHandler_Sign_Call) RunAndReturn(run func(auth.SignUserInput) (*string, error)) *JwtTokenHandler_Sign_Call\n```\n\n```go\ntype JwtTokenHandler_Valid_Call struct {\n\t*mock.Call\n}\n```\nJwtTokenHandler\\_Valid\\_Call is a \\*mock.Call that shadows Run/Return methods with type explicit version for method 'Valid'\n\n```go\nfunc (_c *JwtTokenHandler_Valid_Call) Return(_a0 bool, _a1 *jwt.Token, _a2 error) *JwtTokenHandler_Valid_Call\n```\n\n```go\nfunc (_c *JwtTokenHandler_Valid_Call) Run(run func(jwtToken string)) *JwtTokenHandler_Valid_Call\n```\n\n```go\nfunc (_c *JwtTokenHandler_Valid_Call) RunAndReturn(run func(string) (bool, *jwt.Token, error)) *JwtTokenHandler_Valid_Call\n```\n\n```go\ntype TokenInfoProvider struct {\n\tmock.Mock\n}\n```\nTokenInfoProvider is an autogenerated mock type for the TokenInfoProvider type\n\n```go\nfunc NewTokenInfoProvider(t interface {\n\tmock.TestingT\n\tCleanup(func())\n}) *TokenInfoProvider\n```\nNewTokenInfoProvider creates a new instance of TokenInfoProvider. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a \\*testing.T value.\n\n```go\nfunc (_m *TokenInfoProvider) EXPECT() *TokenInfoProvider_Expecter\n```\n\n```go\nfunc (_m *TokenInfoProvider) GetTokenInfo(_a0 string) (*oauth2.Tokeninfo, error)\n```\nGetTokenInfo provides a mock function with given fields: \\_a0\n\n```go\ntype TokenInfoProvider_Expecter struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (_e *TokenInfoProvider_Expecter) GetTokenInfo(_a0 interface{}) *TokenInfoProvider_GetTokenInfo_Call\n```\nGetTokenInfo is a helper method to define mock.On call\n\n  - \\_a0 string\n\n```go\ntype TokenInfoProvider_GetTokenInfo_Call struct {\n\t*mock.Call\n}\n```\nTokenInfoProvider\\_GetTokenInfo\\_Call is a \\*mock.Call that shadows Run/Return methods with type explicit version for method 'GetTokenInfo'\n\n```go\nfunc (_c *TokenInfoProvider_GetTokenInfo_Call) Return(_a0 *oauth2.Tokeninfo, _a1 error) *TokenInfoProvider_GetTokenInfo_Call\n```\n\n```go\nfunc (_c *TokenInfoProvider_GetTokenInfo_Call) Run(run func(_a0 string)) *TokenInfoProvider_GetTokenInfo_Call\n```\n\n```go\nfunc (_c *TokenInfoProvider_GetTokenInfo_Call) RunAndReturn(run func(string) (*oauth2.Tokeninfo, error)) *TokenInfoProvider_GetTokenInfo_Call\n```\n\n","path":"github.com/justtrackio/gosoline/pkg/httpserver/auth/mocks","name":"mocks","synopsis":"","isRedistributable":true}
