Documentation
¶
Index ¶
- type CreateLoginChallengeParams
- type DBTX
- type Flow
- type Querier
- type Queries
- func (q *Queries) CreateLoginChallenge(ctx context.Context, arg CreateLoginChallengeParams) (Flow, error)
- func (q *Queries) GetLoginChallengeByID(ctx context.Context, loginChallengeID string) (Flow, error)
- func (q *Queries) GetLoginChallengeByIDForUpdate(ctx context.Context, loginChallengeID string) (Flow, error)
- func (q *Queries) GetLoginChallengeByVerifierIDForUpdate(ctx context.Context, loginVerifierID pgtype.Text) (Flow, error)
- func (q *Queries) UpdateLoginChallengeVerifier(ctx context.Context, arg UpdateLoginChallengeVerifierParams) (Flow, error)
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type UpdateLoginChallengeVerifierParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateLoginChallengeParams ¶
type CreateLoginChallengeParams struct {
LoginChallengeID string
ClientID string
CodeChallenge pgtype.Text
CodeChallengeMethod pgtype.Text
ResponseType string
RequestedScopes []string
RedirectUri string
State pgtype.Text
LoginCsrfToken string
CreatedAt pgtype.Timestamptz
LoginChallengeExpiresAt pgtype.Timestamptz
}
type Flow ¶ added in v1.62.0
type Flow struct {
ClientID string
CodeChallenge pgtype.Text
CodeChallengeMethod pgtype.Text
ResponseType string
RequestedScopes []string
RedirectUri string
State pgtype.Text
CreatedAt pgtype.Timestamptz
LoginChallengeID string
LoginChallengeExpiresAt pgtype.Timestamptz
LoginVerifierID pgtype.Text
LoginVerifierExpiresAt pgtype.Timestamptz
LoginConsumed bool
LoginCsrfToken string
Subject pgtype.Text
Name pgtype.Text
Email pgtype.Text
CellID pgtype.Int8
ConsentChallengeID pgtype.Text
ConsentChallengeExpiresAt pgtype.Timestamptz
ConsentCsrfToken pgtype.Text
ConsentVerifierID pgtype.Text
ConsentVerifierExpiresAt pgtype.Timestamptz
ConsentConsumed bool
GrantedScopes []string
Rejected bool
}
type Querier ¶
type Querier interface {
CreateLoginChallenge(ctx context.Context, arg CreateLoginChallengeParams) (Flow, error)
GetLoginChallengeByID(ctx context.Context, loginChallengeID string) (Flow, error)
GetLoginChallengeByIDForUpdate(ctx context.Context, loginChallengeID string) (Flow, error)
GetLoginChallengeByVerifierIDForUpdate(ctx context.Context, loginVerifierID pgtype.Text) (Flow, error)
UpdateLoginChallengeVerifier(ctx context.Context, arg UpdateLoginChallengeVerifierParams) (Flow, error)
}
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateLoginChallenge ¶
func (*Queries) GetLoginChallengeByID ¶
func (*Queries) GetLoginChallengeByIDForUpdate ¶
func (*Queries) GetLoginChallengeByVerifierIDForUpdate ¶
func (*Queries) UpdateLoginChallengeVerifier ¶
Click to show internal directories.
Click to hide internal directories.