Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(db *sql.Client) repositories.ProviderRepository
Types ¶
type Provider ¶
type Provider struct { ID string `gorm:"column:id;primary_key"` ProjectID string `gorm:"column:project_id;not null"` Type Type `gorm:"column:type;not null"` CreatedAt time.Time `gorm:"column:created_at;autoCreateTime"` UpdatedAt time.Time `gorm:"column:updated_at;autoUpdateTime"` DeletedAt gorm.DeletedAt `gorm:"column:deleted_at"` Openfort *ProviderOpenfort Custom *ProviderCustom }
type ProviderCustom ¶
type ProviderCustom struct { ProviderID string `gorm:"column:provider_id;primary_key"` JWKUrl string `gorm:"column:jwk_url"` PEM string `gorm:"column:pem_cert"` KeyType KeyType `gorm:"column:key_type"` }
func (ProviderCustom) TableName ¶
func (ProviderCustom) TableName() string
type ProviderOpenfort ¶
type ProviderOpenfort struct { ProviderID string `gorm:"column:provider_id;primary_key"` PublishableKey string `gorm:"column:publishable_key"` }
func (ProviderOpenfort) TableName ¶
func (ProviderOpenfort) TableName() string
Click to show internal directories.
Click to hide internal directories.