Documentation ¶
Index ¶
- type HashPasswordInput
- type PasswordHasher
- type Provider
- func (p *Provider) AssertOutputsEmpty()
- func (p *Provider) AuthClient() auth.Client
- func (p *Provider) BlobClient() blob.Client
- func (p *Provider) ConfirmationStore() confirmationStore.Store
- func (p *Provider) DataClient() dataClient.Client
- func (p *Provider) DataSourceClient() dataSource.Client
- func (p *Provider) ImageClient() image.Client
- func (p *Provider) MessageStore() messageStore.Store
- func (p *Provider) MetricClient() metric.Client
- func (p *Provider) PasswordHasher() userServiceClient.PasswordHasher
- func (p *Provider) PermissionClient() permission.Client
- func (p *Provider) PermissionStore() permissionStore.Store
- func (p *Provider) ProfileStore() profileStoreStructured.Store
- func (p *Provider) SessionStore() sessionStore.Store
- func (p *Provider) UserStructuredStore() userStoreStructured.Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HashPasswordInput ¶
type PasswordHasher ¶
type PasswordHasher struct { HashPasswordInvocations int HashPasswordInputs []HashPasswordInput HashPasswordStub func(userID string, password string) string HashPasswordOutputs []string HashPasswordOutput *string }
func NewPasswordHasher ¶
func NewPasswordHasher() *PasswordHasher
func (*PasswordHasher) AssertOutputsEmpty ¶
func (p *PasswordHasher) AssertOutputsEmpty()
func (*PasswordHasher) HashPassword ¶
func (p *PasswordHasher) HashPassword(userID string, password string) string
type Provider ¶
type Provider struct { AuthClientInvocations int AuthClientStub func() auth.Client AuthClientOutputs []auth.Client AuthClientOutput *auth.Client BlobClientInvocations int BlobClientStub func() blob.Client BlobClientOutputs []blob.Client BlobClientOutput *blob.Client DataClientInvocations int DataClientStub func() dataClient.Client DataClientOutputs []dataClient.Client DataClientOutput *dataClient.Client DataSourceClientInvocations int DataSourceClientStub func() dataSource.Client DataSourceClientOutputs []dataSource.Client DataSourceClientOutput *dataSource.Client ImageClientInvocations int ImageClientStub func() image.Client ImageClientOutputs []image.Client ImageClientOutput *image.Client MetricClientInvocations int MetricClientStub func() metric.Client MetricClientOutputs []metric.Client MetricClientOutput *metric.Client PermissionClientInvocations int PermissionClientStub func() permission.Client PermissionClientOutputs []permission.Client PermissionClientOutput *permission.Client ConfirmationStoreInvocations int ConfirmationStoreStub func() confirmationStore.Store ConfirmationStoreOutputs []confirmationStore.Store ConfirmationStoreOutput *confirmationStore.Store MessageStoreInvocations int MessageStoreStub func() messageStore.Store MessageStoreOutputs []messageStore.Store MessageStoreOutput *messageStore.Store PermissionStoreInvocations int PermissionStoreStub func() permissionStore.Store PermissionStoreOutputs []permissionStore.Store PermissionStoreOutput *permissionStore.Store ProfileStoreInvocations int ProfileStoreStub func() profileStoreStructured.Store ProfileStoreOutputs []profileStoreStructured.Store ProfileStoreOutput *profileStoreStructured.Store SessionStoreInvocations int SessionStoreStub func() sessionStore.Store SessionStoreOutputs []sessionStore.Store SessionStoreOutput *sessionStore.Store UserStructuredStoreInvocations int UserStructuredStoreStub func() userStoreStructured.Store UserStructuredStoreOutputs []userStoreStructured.Store UserStructuredStoreOutput *userStoreStructured.Store PasswordHasherInvocations int PasswordHasherStub func() userServiceClient.PasswordHasher PasswordHasherOutputs []userServiceClient.PasswordHasher PasswordHasherOutput *userServiceClient.PasswordHasher }
func NewProvider ¶
func NewProvider() *Provider
func (*Provider) AssertOutputsEmpty ¶
func (p *Provider) AssertOutputsEmpty()
func (*Provider) AuthClient ¶
func (*Provider) BlobClient ¶
func (*Provider) ConfirmationStore ¶
func (p *Provider) ConfirmationStore() confirmationStore.Store
func (*Provider) DataClient ¶
func (p *Provider) DataClient() dataClient.Client
func (*Provider) DataSourceClient ¶
func (p *Provider) DataSourceClient() dataSource.Client
func (*Provider) ImageClient ¶
func (*Provider) MessageStore ¶
func (p *Provider) MessageStore() messageStore.Store
func (*Provider) MetricClient ¶
func (*Provider) PasswordHasher ¶
func (p *Provider) PasswordHasher() userServiceClient.PasswordHasher
func (*Provider) PermissionClient ¶
func (p *Provider) PermissionClient() permission.Client
func (*Provider) PermissionStore ¶
func (p *Provider) PermissionStore() permissionStore.Store
func (*Provider) ProfileStore ¶
func (p *Provider) ProfileStore() profileStoreStructured.Store
func (*Provider) SessionStore ¶
func (p *Provider) SessionStore() sessionStore.Store
func (*Provider) UserStructuredStore ¶
func (p *Provider) UserStructuredStore() userStoreStructured.Store
Click to show internal directories.
Click to hide internal directories.