inbound

package
v0.0.0-...-d7e6830 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateRealmServiceInput

type CreateRealmServiceInput struct {
	IdentityProviderID string
	Name               string
}

type CreateRealmServiceOutput

type CreateRealmServiceOutput struct {
	ID                 domain.ID
	IdentityProviderID string
	Name               string
	CreatedAt          domain.CreatedAt
	UpdatedAt          domain.UpdatedAt
	DeletedAt          domain.DeletedAt
	Version            domain.Version
}

type CreateRealmUseCase

type CreateRealmUseCase interface {
	Execute(ctx context.Context, input CreateRealmUseCaseInput) (CreateRealmUseCaseOutput, error)
}

type CreateRealmUseCaseInput

type CreateRealmUseCaseInput struct {
	IdentityProviderID string
	Name               string
}

type CreateRealmUseCaseOutput

type CreateRealmUseCaseOutput struct {
	Realm domain.Realm
}

type CreateUserServiceInput

type CreateUserServiceInput struct {
	RealmID          string
	Name             string
	Email            string
	Password         string
	DocumentRegistry string
}

type CreateUserServiceOutput

type CreateUserServiceOutput struct {
	ID               domain.ID
	RealmID          string
	Name             string
	Email            domain.Email
	DocumentRegistry domain.DocumentRegistry
	Enabled          domain.Enabled
	CreatedAt        domain.CreatedAt
	UpdatedAt        domain.UpdatedAt
	DeletedAt        domain.DeletedAt
	Version          domain.Version
}

type CreateUserUseCase

type CreateUserUseCase interface {
	Execute(ctx context.Context, input CreateUserUseCaseInput) (CreateUserUseCaseOutput, error)
}

type CreateUserUseCaseInput

type CreateUserUseCaseInput struct {
	RealmID          string
	Name             string
	Email            domain.Email
	Password         domain.Password
	DocumentRegistry domain.DocumentRegistry
}

type CreateUserUseCaseOutput

type CreateUserUseCaseOutput struct {
	User domain.User
}

type PasswordHasher

type PasswordHasher interface {
	Hash(data string) (string, error)
	Compare(data, encodedHash string) (bool, error)
}

PKG

type RealmService

type RealmService interface {
	Create(ctx context.Context, input CreateRealmServiceInput) (CreateRealmServiceOutput, error)
}

type UserService

type UserService interface {
	Create(ctx context.Context, input CreateUserServiceInput) (CreateUserServiceOutput, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL