Documentation ¶
Index ¶
- type IdentityComponent
- func (c *IdentityComponent) Close() error
- func (c *IdentityComponent) DoGetAuthorisationMiddleware(ctx context.Context, cfg *authorisation.Config) (authorisation.Middleware, error)
- func (c *IdentityComponent) DoGetCognitoClient(AWSRegion string) cognito.Client
- func (c *IdentityComponent) DoGetHTTPServer(bindAddr string, router http.Handler) service.HTTPServer
- func (c *IdentityComponent) DoGetHealthcheckOk(cfg *config.Config, buildTime string, gitCommit string, version string) (service.HealthChecker, error)
- func (c *IdentityComponent) InitialiseService() (http.Handler, error)
- func (c *IdentityComponent) RegisterSteps(ctx *godog.ScenarioContext)
- func (c *IdentityComponent) Reset() *IdentityComponent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IdentityComponent ¶
type IdentityComponent struct { ErrorFeature componenttest.ErrorFeature Config *config.Config HTTPServer *http.Server ServiceRunning bool CognitoClient *cognitoMock.CognitoIdentityProviderClientStub AuthorisationMiddleware authorisation.Middleware JWKSHandler *jwksMock.JWKSIntMock // contains filtered or unexported fields }
func NewIdentityComponent ¶
func NewIdentityComponent() (*IdentityComponent, error)
func (*IdentityComponent) Close ¶
func (c *IdentityComponent) Close() error
func (*IdentityComponent) DoGetAuthorisationMiddleware ¶ added in v1.31.0
func (c *IdentityComponent) DoGetAuthorisationMiddleware(ctx context.Context, cfg *authorisation.Config) (authorisation.Middleware, error)
func (*IdentityComponent) DoGetCognitoClient ¶ added in v1.5.0
func (c *IdentityComponent) DoGetCognitoClient(AWSRegion string) cognito.Client
func (*IdentityComponent) DoGetHTTPServer ¶
func (c *IdentityComponent) DoGetHTTPServer(bindAddr string, router http.Handler) service.HTTPServer
func (*IdentityComponent) DoGetHealthcheckOk ¶
func (c *IdentityComponent) DoGetHealthcheckOk(cfg *config.Config, buildTime string, gitCommit string, version string) (service.HealthChecker, error)
func (*IdentityComponent) InitialiseService ¶
func (c *IdentityComponent) InitialiseService() (http.Handler, error)
func (*IdentityComponent) RegisterSteps ¶
func (c *IdentityComponent) RegisterSteps(ctx *godog.ScenarioContext)
func (*IdentityComponent) Reset ¶
func (c *IdentityComponent) Reset() *IdentityComponent
Click to show internal directories.
Click to hide internal directories.