Implement owner setup and browser authentication sessions
This commit is contained in:
parent
077cf7601a
commit
715423ab8e
21 changed files with 2185 additions and 14 deletions
|
|
@ -9,8 +9,20 @@ import (
|
|||
)
|
||||
|
||||
type Querier interface {
|
||||
CreateAuthenticationAuditEvent(ctx context.Context, arg CreateAuthenticationAuditEventParams) error
|
||||
CreateBrowserSession(ctx context.Context, arg CreateBrowserSessionParams) (string, error)
|
||||
CreateInitialRootChange(ctx context.Context, arg CreateInitialRootChangeParams) error
|
||||
CreateOwner(ctx context.Context, arg CreateOwnerParams) (string, error)
|
||||
CreateOwnerRootNode(ctx context.Context, arg CreateOwnerRootNodeParams) (string, error)
|
||||
CreateRecoveryCode(ctx context.Context, arg CreateRecoveryCodeParams) error
|
||||
DatabaseHealth(ctx context.Context) (int64, error)
|
||||
GetActiveBrowserSession(ctx context.Context, arg GetActiveBrowserSessionParams) (GetActiveBrowserSessionRow, error)
|
||||
GetAuthenticationInvariantCounts(ctx context.Context) (GetAuthenticationInvariantCountsRow, error)
|
||||
GetOwnerAuthenticationRecord(ctx context.Context) (GetOwnerAuthenticationRecordRow, error)
|
||||
OwnerExists(ctx context.Context) (bool, error)
|
||||
RevokeBrowserSession(ctx context.Context, arg RevokeBrowserSessionParams) (int64, error)
|
||||
SetOwnerRootNode(ctx context.Context, arg SetOwnerRootNodeParams) error
|
||||
TouchBrowserSession(ctx context.Context, arg TouchBrowserSessionParams) error
|
||||
}
|
||||
|
||||
var _ Querier = (*Queries)(nil)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue