Documentation ¶
Index ¶
- type AddPasskeyParams
- type CreateInviteParams
- type CreateUserParams
- type DBTX
- type Invite
- type LegacyapiToken
- type ListUsersParams
- type OidcClient
- type Passkey
- type Queries
- func (q *Queries) AddPasskey(ctx context.Context, arg AddPasskeyParams) (uuid.UUID, error)
- func (q *Queries) Begin(ctx context.Context) (*Queries, error)
- func (q *Queries) Commit(ctx context.Context) error
- func (q *Queries) CreateClient(ctx context.Context, id []byte) (OidcClient, error)
- func (q *Queries) CreateInvite(ctx context.Context, arg CreateInviteParams) (Invite, error)
- func (q *Queries) CreateSession(ctx context.Context, kthid string) (uuid.UUID, error)
- func (q *Queries) CreateToken(ctx context.Context, kthid string) (uuid.UUID, error)
- func (q *Queries) CreateUser(ctx context.Context, arg CreateUserParams) error
- func (q *Queries) DeleteClient(ctx context.Context, id []byte) error
- func (q *Queries) DeleteInvite(ctx context.Context, id uuid.UUID) error
- func (q *Queries) DeleteToken(ctx context.Context, kthid string) error
- func (q *Queries) GetAllYears(ctx context.Context) ([]string, error)
- func (q *Queries) GetClient(ctx context.Context, id []byte) (OidcClient, error)
- func (q *Queries) GetInvite(ctx context.Context, id uuid.UUID) (Invite, error)
- func (q *Queries) GetSession(ctx context.Context, id uuid.UUID) (string, error)
- func (q *Queries) GetToken(ctx context.Context, id uuid.UUID) (string, error)
- func (q *Queries) GetUser(ctx context.Context, kthid string) (User, error)
- func (q *Queries) IncrementInviteUses(ctx context.Context, id uuid.UUID) error
- func (q *Queries) ListClients(ctx context.Context) ([]OidcClient, error)
- func (q *Queries) ListInvites(ctx context.Context) ([]Invite, error)
- func (q *Queries) ListPasskeysByUser(ctx context.Context, kthid string) ([]Passkey, error)
- func (q *Queries) ListUsers(ctx context.Context, arg ListUsersParams) ([]User, error)
- func (q *Queries) RemovePasskey(ctx context.Context, arg RemovePasskeyParams) error
- func (q *Queries) RemoveSession(ctx context.Context, id uuid.UUID) error
- func (q *Queries) Rollback(ctx context.Context) error
- func (q *Queries) StoreWebAuthnSessionData(ctx context.Context, arg StoreWebAuthnSessionDataParams) error
- func (q *Queries) TakeWebAuthnSessionData(ctx context.Context, kthid string) ([]byte, error)
- func (q *Queries) Tx(ctx context.Context, f func(db *Queries) error) error
- func (q *Queries) UpdateClient(ctx context.Context, arg UpdateClientParams) (OidcClient, error)
- func (q *Queries) UpdateInvite(ctx context.Context, arg UpdateInviteParams) (Invite, error)
- func (q *Queries) UserSetMemberTo(ctx context.Context, arg UserSetMemberToParams) error
- func (q *Queries) UserSetNameChangeRequest(ctx context.Context, arg UserSetNameChangeRequestParams) (User, error)
- func (q *Queries) UserSetYear(ctx context.Context, arg UserSetYearParams) (User, error)
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type RemovePasskeyParams
- type Session
- type StoreWebAuthnSessionDataParams
- type UpdateClientParams
- type UpdateInviteParams
- type User
- type UserSetMemberToParams
- type UserSetNameChangeRequestParams
- type UserSetYearParams
- type WebauthnSessionDatum
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddPasskeyParams ¶
type CreateInviteParams ¶
type CreateUserParams ¶
type LegacyapiToken ¶
type ListUsersParams ¶
type OidcClient ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) AddPasskey ¶
func (*Queries) CreateClient ¶
func (*Queries) CreateInvite ¶
func (*Queries) CreateSession ¶
func (*Queries) CreateToken ¶
func (*Queries) CreateUser ¶
func (q *Queries) CreateUser(ctx context.Context, arg CreateUserParams) error
func (*Queries) DeleteInvite ¶
func (*Queries) DeleteToken ¶
func (*Queries) GetSession ¶
func (*Queries) IncrementInviteUses ¶
func (*Queries) ListClients ¶
func (q *Queries) ListClients(ctx context.Context) ([]OidcClient, error)
func (*Queries) ListPasskeysByUser ¶
func (*Queries) RemovePasskey ¶
func (q *Queries) RemovePasskey(ctx context.Context, arg RemovePasskeyParams) error
func (*Queries) RemoveSession ¶
func (*Queries) StoreWebAuthnSessionData ¶
func (q *Queries) StoreWebAuthnSessionData(ctx context.Context, arg StoreWebAuthnSessionDataParams) error
func (*Queries) TakeWebAuthnSessionData ¶
func (*Queries) UpdateClient ¶
func (q *Queries) UpdateClient(ctx context.Context, arg UpdateClientParams) (OidcClient, error)
func (*Queries) UpdateInvite ¶
func (*Queries) UserSetMemberTo ¶
func (q *Queries) UserSetMemberTo(ctx context.Context, arg UserSetMemberToParams) error
func (*Queries) UserSetNameChangeRequest ¶
func (*Queries) UserSetYear ¶
type RemovePasskeyParams ¶
type UpdateClientParams ¶
type UpdateInviteParams ¶
type UserSetMemberToParams ¶
type UserSetYearParams ¶
type WebauthnSessionDatum ¶
Click to show internal directories.
Click to hide internal directories.