Documentation ¶
Index ¶
- type Mock
- func (m *Mock) GetAccountDataFromToken(_ string) (*proto.GetAccountDataResponse, error)
- func (m *Mock) GetUserInfo(_ string) (*gocloak.UserInfo, error)
- func (m *Mock) IsAuthorized(_ *authEntities.AuthorizationData) (bool, error)
- func (m *Mock) Login(_ *authEntities.LoginCredentials) (*authEntities.LoginResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mock ¶
func (*Mock) GetAccountDataFromToken ¶
func (m *Mock) GetAccountDataFromToken(_ string) (*proto.GetAccountDataResponse, error)
func (*Mock) GetUserInfo ¶
func (*Mock) IsAuthorized ¶
func (m *Mock) IsAuthorized(_ *authEntities.AuthorizationData) (bool, error)
func (*Mock) Login ¶
func (m *Mock) Login(_ *authEntities.LoginCredentials) (*authEntities.LoginResponse, error)
Click to show internal directories.
Click to hide internal directories.