Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LamssuAuthClaims ¶
type LamssuAuthClaims struct { RealmAccess Roles `json:"realm_access,omitempty"` stdjwt.StandardClaims }
type Middleware ¶
func LoggingMiddleware ¶
func LoggingMiddleware(logger log.Logger) Middleware
func NewInstrumentingMiddleware ¶
func NewInstrumentingMiddleware(counter metrics.Counter, latency metrics.Histogram) Middleware
type Service ¶
type Service interface { Health(ctx context.Context) bool CreateDMS(ctx context.Context, csrBase64Encoded string, dmsName string) (dto.DMS, error) CreateDMSForm(ctx context.Context, subject dto.Subject, PrivateKeyMetadata dto.PrivateKeyMetadata, dmsName string) (string, dto.DMS, error) UpdateDMSStatus(ctx context.Context, status string, id string, CAList []string) (dto.DMS, error) DeleteDMS(ctx context.Context, id string) error GetDMSs(ctx context.Context, queryParameters filters.QueryParameters) ([]dto.DMS, int, error) GetDMSbyID(ctx context.Context, id string) (dto.DMS, error) }
func NewEnrollerService ¶
func NewEnrollerService(dmsDbStore dmsstore.DB, lamassuCa *lamassucaclient.LamassuCaClient, logger log.Logger) Service
Click to show internal directories.
Click to hide internal directories.