package
0.0.0-20250115122641-6b843c781f7b
Repository: https://github.com/8thgencore/microservice-auth.git
Documentation: pkg.go.dev

# Functions

NewAccessServiceMock returns a mock for mm_service.AccessService.
NewAuthServiceMock returns a mock for mm_service.AuthService.
NewUserServiceMock returns a mock for mm_service.UserService.

# Structs

AccessServiceMock implements mm_service.AccessService.
AccessServiceMockAddRoleEndpointExpectation specifies expectation struct of the AccessService.AddRoleEndpoint.
AccessServiceMockAddRoleEndpointOrigins contains origins of expectations of the AccessService.AddRoleEndpoint.
AccessServiceMockAddRoleEndpointParamPtrs contains pointers to parameters of the AccessService.AddRoleEndpoint.
AccessServiceMockAddRoleEndpointParams contains parameters of the AccessService.AddRoleEndpoint.
AccessServiceMockAddRoleEndpointResults contains results of the AccessService.AddRoleEndpoint.
AccessServiceMockCheckExpectation specifies expectation struct of the AccessService.Check.
AccessServiceMockCheckOrigins contains origins of expectations of the AccessService.Check.
AccessServiceMockCheckParamPtrs contains pointers to parameters of the AccessService.Check.
AccessServiceMockCheckParams contains parameters of the AccessService.Check.
AccessServiceMockCheckResults contains results of the AccessService.Check.
AccessServiceMockDeleteRoleEndpointExpectation specifies expectation struct of the AccessService.DeleteRoleEndpoint.
AccessServiceMockDeleteRoleEndpointOrigins contains origins of expectations of the AccessService.DeleteRoleEndpoint.
AccessServiceMockDeleteRoleEndpointParamPtrs contains pointers to parameters of the AccessService.DeleteRoleEndpoint.
AccessServiceMockDeleteRoleEndpointParams contains parameters of the AccessService.DeleteRoleEndpoint.
AccessServiceMockDeleteRoleEndpointResults contains results of the AccessService.DeleteRoleEndpoint.
AccessServiceMockGetRoleEndpointsExpectation specifies expectation struct of the AccessService.GetRoleEndpoints.
AccessServiceMockGetRoleEndpointsOrigins contains origins of expectations of the AccessService.GetRoleEndpoints.
AccessServiceMockGetRoleEndpointsParamPtrs contains pointers to parameters of the AccessService.GetRoleEndpoints.
AccessServiceMockGetRoleEndpointsParams contains parameters of the AccessService.GetRoleEndpoints.
AccessServiceMockGetRoleEndpointsResults contains results of the AccessService.GetRoleEndpoints.
AccessServiceMockUpdateRoleEndpointExpectation specifies expectation struct of the AccessService.UpdateRoleEndpoint.
AccessServiceMockUpdateRoleEndpointOrigins contains origins of expectations of the AccessService.UpdateRoleEndpoint.
AccessServiceMockUpdateRoleEndpointParamPtrs contains pointers to parameters of the AccessService.UpdateRoleEndpoint.
AccessServiceMockUpdateRoleEndpointParams contains parameters of the AccessService.UpdateRoleEndpoint.
AccessServiceMockUpdateRoleEndpointResults contains results of the AccessService.UpdateRoleEndpoint.
AuthServiceMock implements mm_service.AuthService.
AuthServiceMockGetAccessTokenExpectation specifies expectation struct of the AuthService.GetAccessToken.
AuthServiceMockGetAccessTokenOrigins contains origins of expectations of the AuthService.GetAccessToken.
AuthServiceMockGetAccessTokenParamPtrs contains pointers to parameters of the AuthService.GetAccessToken.
AuthServiceMockGetAccessTokenParams contains parameters of the AuthService.GetAccessToken.
AuthServiceMockGetAccessTokenResults contains results of the AuthService.GetAccessToken.
AuthServiceMockGetRefreshTokenExpectation specifies expectation struct of the AuthService.GetRefreshToken.
AuthServiceMockGetRefreshTokenOrigins contains origins of expectations of the AuthService.GetRefreshToken.
AuthServiceMockGetRefreshTokenParamPtrs contains pointers to parameters of the AuthService.GetRefreshToken.
AuthServiceMockGetRefreshTokenParams contains parameters of the AuthService.GetRefreshToken.
AuthServiceMockGetRefreshTokenResults contains results of the AuthService.GetRefreshToken.
AuthServiceMockLoginExpectation specifies expectation struct of the AuthService.Login.
AuthServiceMockLoginOrigins contains origins of expectations of the AuthService.Login.
AuthServiceMockLoginParamPtrs contains pointers to parameters of the AuthService.Login.
AuthServiceMockLoginParams contains parameters of the AuthService.Login.
AuthServiceMockLoginResults contains results of the AuthService.Login.
AuthServiceMockLogoutExpectation specifies expectation struct of the AuthService.Logout.
AuthServiceMockLogoutOrigins contains origins of expectations of the AuthService.Logout.
AuthServiceMockLogoutParamPtrs contains pointers to parameters of the AuthService.Logout.
AuthServiceMockLogoutParams contains parameters of the AuthService.Logout.
AuthServiceMockLogoutResults contains results of the AuthService.Logout.
UserServiceMock implements mm_service.UserService.
UserServiceMockChangePasswordExpectation specifies expectation struct of the UserService.ChangePassword.
UserServiceMockChangePasswordOrigins contains origins of expectations of the UserService.ChangePassword.
UserServiceMockChangePasswordParamPtrs contains pointers to parameters of the UserService.ChangePassword.
UserServiceMockChangePasswordParams contains parameters of the UserService.ChangePassword.
UserServiceMockChangePasswordResults contains results of the UserService.ChangePassword.
UserServiceMockCreateExpectation specifies expectation struct of the UserService.Create.
UserServiceMockCreateOrigins contains origins of expectations of the UserService.Create.
UserServiceMockCreateParamPtrs contains pointers to parameters of the UserService.Create.
UserServiceMockCreateParams contains parameters of the UserService.Create.
UserServiceMockCreateResults contains results of the UserService.Create.
UserServiceMockDeleteExpectation specifies expectation struct of the UserService.Delete.
UserServiceMockDeleteOrigins contains origins of expectations of the UserService.Delete.
UserServiceMockDeleteParamPtrs contains pointers to parameters of the UserService.Delete.
UserServiceMockDeleteParams contains parameters of the UserService.Delete.
UserServiceMockDeleteResults contains results of the UserService.Delete.
UserServiceMockEnsureAdminExistsExpectation specifies expectation struct of the UserService.EnsureAdminExists.
UserServiceMockEnsureAdminExistsOrigins contains origins of expectations of the UserService.EnsureAdminExists.
UserServiceMockEnsureAdminExistsParamPtrs contains pointers to parameters of the UserService.EnsureAdminExists.
UserServiceMockEnsureAdminExistsParams contains parameters of the UserService.EnsureAdminExists.
UserServiceMockEnsureAdminExistsResults contains results of the UserService.EnsureAdminExists.
UserServiceMockGetExpectation specifies expectation struct of the UserService.Get.
UserServiceMockGetOrigins contains origins of expectations of the UserService.Get.
UserServiceMockGetParamPtrs contains pointers to parameters of the UserService.Get.
UserServiceMockGetParams contains parameters of the UserService.Get.
UserServiceMockGetResults contains results of the UserService.Get.
UserServiceMockUpdateExpectation specifies expectation struct of the UserService.Update.
UserServiceMockUpdateOrigins contains origins of expectations of the UserService.Update.
UserServiceMockUpdateParamPtrs contains pointers to parameters of the UserService.Update.
UserServiceMockUpdateParams contains parameters of the UserService.Update.
UserServiceMockUpdateResults contains results of the UserService.Update.