Documentation
¶
Index ¶
- type DBTX
- type Flow
- type Querier
- type Queries
- func (q *Queries) GetConsentChallengeByID(ctx context.Context, consentChallengeID pgtype.Text) (Flow, error)
- func (q *Queries) GetConsentChallengeByIDForUpdate(ctx context.Context, consentChallengeID pgtype.Text) (Flow, error)
- func (q *Queries) GetConsentChallengeByVerifierIDForUpdate(ctx context.Context, consentVerifierID pgtype.Text) (Flow, error)
- func (q *Queries) StartConsentChallenge(ctx context.Context, arg StartConsentChallengeParams) (Flow, error)
- func (q *Queries) UpdateConsentChallengeVerifier(ctx context.Context, arg UpdateConsentChallengeVerifierParams) (Flow, error)
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type StartConsentChallengeParams
- type UpdateConsentChallengeVerifierParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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
Nonce pgtype.Text
}
type Querier ¶
type Querier interface {
GetConsentChallengeByID(ctx context.Context, consentChallengeID pgtype.Text) (Flow, error)
GetConsentChallengeByIDForUpdate(ctx context.Context, consentChallengeID pgtype.Text) (Flow, error)
GetConsentChallengeByVerifierIDForUpdate(ctx context.Context, consentVerifierID pgtype.Text) (Flow, error)
StartConsentChallenge(ctx context.Context, arg StartConsentChallengeParams) (Flow, error)
UpdateConsentChallengeVerifier(ctx context.Context, arg UpdateConsentChallengeVerifierParams) (Flow, error)
}
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) GetConsentChallengeByID ¶
func (*Queries) GetConsentChallengeByIDForUpdate ¶
func (*Queries) GetConsentChallengeByVerifierIDForUpdate ¶
func (*Queries) StartConsentChallenge ¶ added in v1.62.0
func (*Queries) UpdateConsentChallengeVerifier ¶
type StartConsentChallengeParams ¶ added in v1.62.0
Click to show internal directories.
Click to hide internal directories.