Documentation ¶
Index ¶
Constants ¶
View Source
const ( IOS = "ios" Android = "android" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrowserExtension ¶
type BrowserExtension struct { gorm.Model Id uuid.UUID `gorm:"primarykey"` Name string BrowserName string BrowserVersion string PublicKey string }
func NewBrowserExtension ¶
func NewBrowserExtension() *BrowserExtension
type BrowserExtension2FaRequest ¶
type BrowserExtension2FaRequest struct { gorm.Model Id uuid.UUID `gorm:"primarykey"` ExtensionId string Domain string Status Status }
func NewBrowserExtension2FaRequest ¶
func NewBrowserExtension2FaRequest(id, extensionId uuid.UUID, domain string) *BrowserExtension2FaRequest
func (*BrowserExtension2FaRequest) Close ¶
func (e *BrowserExtension2FaRequest) Close(status Status)
func (BrowserExtension2FaRequest) TableName ¶
func (BrowserExtension2FaRequest) TableName() string
type BrowserExtension2FaRequestRepository ¶
type BrowserExtension2FaRequestRepository interface { Save(request *BrowserExtension2FaRequest) error Update(request *BrowserExtension2FaRequest) error Delete(tokenRequest *BrowserExtension2FaRequest) error FindPendingByExtensionId(extensionId uuid.UUID) []*BrowserExtension2FaRequest FindById(tokenRequestId, extensionId uuid.UUID) (*BrowserExtension2FaRequest, error) }
type BrowserExtensionDevicesRepository ¶
type BrowserExtensionDevicesRepository interface { FindAll(extensionId uuid.UUID) []*ExtensionDevice GetById(extensionId, deviceId uuid.UUID) (*ExtensionDevice, error) Delete(device *ExtensionDevice) error }
type BrowserExtensionRepository ¶
type BrowserExtensionRepository interface { Save(extension *BrowserExtension) error Update(extension *BrowserExtension) error FindById(id uuid.UUID) (*BrowserExtension, error) }
Click to show internal directories.
Click to hide internal directories.