Documentation ¶
Index ¶
Constants ¶
View Source
const ( FakeSessionID = "fake-kratos-session-id" FakeUsername = "fake-kratos-username" FakePassword = "fake-kratos-password" // nolint: gosec )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Default ¶
type Default struct {
// contains filtered or unexported fields
}
func (*Default) Authenticate ¶
type FakeKratos ¶
func NewFake ¶
func NewFake() *FakeKratos
func (*FakeKratos) Authenticate ¶
func (f *FakeKratos) Authenticate(_ context.Context, username, password string) error
func (*FakeKratos) DisableSession ¶
func (f *FakeKratos) DisableSession(_ context.Context, identityProviderSessionID string) error
func (*FakeKratos) Reset ¶
func (f *FakeKratos) Reset()
Click to show internal directories.
Click to hide internal directories.