Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticationFactory ¶
type AuthenticationFactory interface { CreateProjectAuthenticator(apiKey, apiSecret string) Authenticator CreateUserAuthenticator(apiKey, token string, identityFactory Identity) Authenticator }
type Authenticator ¶
type Authenticator interface {
Authenticate(ctx context.Context) (*authentication.Authentication, error)
}
type EncryptionFactory ¶
type EncryptionFactory interface { CreateEncryptionKeyBuilder(builderType EncryptionKeyBuilderType, projectMigrated bool) (builders.EncryptionKeyBuilder, error) CreateReconstructionStrategy(projectMigrated bool) strategies.ReconstructionStrategy CreateEncryptionStrategy(key string) strategies.EncryptionStrategy }
type EncryptionKeyBuilderType ¶
type EncryptionKeyBuilderType int8
const ( Plain EncryptionKeyBuilderType = iota Session )
Click to show internal directories.
Click to hide internal directories.