Documentation
¶
Index ¶
Constants ¶
View Source
const ( FAKE_GET_LOGIN_REQUEST_RETURN_NIL_NIL = "b805f2d9-2f6d-4745-9d68-a17f48e25774" FAKE_ACCEPT_REQUEST_FAIL = "2e98454e-031b-4870-9ad6-8517df1ce604" FAKE_SUCCESS = "5ff59a39-ecc5-467e-bb10-26644c0700ee" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DefaultHydra ¶
type DefaultHydra struct {
// contains filtered or unexported fields
}
func NewDefaultHydra ¶
func NewDefaultHydra(d hydraDependencies) *DefaultHydra
func (*DefaultHydra) AcceptLoginRequest ¶
func (h *DefaultHydra) AcceptLoginRequest(ctx context.Context, hlc uuid.UUID, sub string, amr session.AuthenticationMethods) (string, error)
func (*DefaultHydra) GetLoginRequest ¶
func (h *DefaultHydra) GetLoginRequest(ctx context.Context, hlc uuid.NullUUID) (*hydraclientgo.OAuth2LoginRequest, error)
type FakeHydra ¶
type FakeHydra struct{}
func NewFakeHydra ¶
func NewFakeHydra() *FakeHydra
func (*FakeHydra) AcceptLoginRequest ¶
func (*FakeHydra) GetLoginRequest ¶
func (h *FakeHydra) GetLoginRequest(ctx context.Context, hlc uuid.NullUUID) (*hydraclientgo.OAuth2LoginRequest, error)
type HydraProvider ¶
type HydraProvider interface {
Hydra() Hydra
}
Click to show internal directories.
Click to hide internal directories.