Documentation
¶
Index ¶
- type CreateConsentChallengeParams
- type DBTX
- type GetConsentChallengeByIDForUpdateRow
- type GetConsentChallengeByIDRow
- type GetConsentChallengeByVerifierIDForUpdateRow
- type Querier
- type Queries
- func (q *Queries) CreateConsentChallenge(ctx context.Context, arg CreateConsentChallengeParams) (string, error)
- func (q *Queries) GetConsentChallengeByID(ctx context.Context, id string) (GetConsentChallengeByIDRow, error)
- func (q *Queries) GetConsentChallengeByIDForUpdate(ctx context.Context, id string) (GetConsentChallengeByIDForUpdateRow, error)
- func (q *Queries) GetConsentChallengeByVerifierIDForUpdate(ctx context.Context, verifierID pgtype.Text) (GetConsentChallengeByVerifierIDForUpdateRow, error)
- func (q *Queries) UpdateConsentChallengeVerifier(ctx context.Context, arg UpdateConsentChallengeVerifierParams) error
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type UpdateConsentChallengeVerifierParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateConsentChallengeParams ¶
type CreateConsentChallengeParams struct {
ID string
LoginChallengeID string
CreatedAt pgtype.Timestamptz
ExpiresAt pgtype.Timestamptz
}
type GetConsentChallengeByIDForUpdateRow ¶
type GetConsentChallengeByIDForUpdateRow struct {
ID string
LoginChallengeID string
GrantedScopes []string
Rejected bool
CreatedAt pgtype.Timestamptz
ExpiresAt pgtype.Timestamptz
VerifierID pgtype.Text
VerifierExpiresAt pgtype.Timestamptz
Consumed bool
ClientID string
CodeChallenge string
CodeChallengeMethod string
ResponseType string
RequestedScopes []string
RedirectUri string
State string
Subject pgtype.Text
}
type GetConsentChallengeByIDRow ¶
type GetConsentChallengeByIDRow struct {
ID string
LoginChallengeID string
GrantedScopes []string
Rejected bool
CreatedAt pgtype.Timestamptz
ExpiresAt pgtype.Timestamptz
VerifierID pgtype.Text
VerifierExpiresAt pgtype.Timestamptz
Consumed bool
ClientID string
CodeChallenge string
CodeChallengeMethod string
ResponseType string
RequestedScopes []string
RedirectUri string
State string
Subject pgtype.Text
}
type GetConsentChallengeByVerifierIDForUpdateRow ¶
type GetConsentChallengeByVerifierIDForUpdateRow struct {
ID string
LoginChallengeID string
GrantedScopes []string
Rejected bool
CreatedAt pgtype.Timestamptz
ExpiresAt pgtype.Timestamptz
VerifierID pgtype.Text
VerifierExpiresAt pgtype.Timestamptz
Consumed bool
ClientID string
CodeChallenge string
CodeChallengeMethod string
ResponseType string
RequestedScopes []string
RedirectUri string
State string
Subject pgtype.Text
}
type Querier ¶
type Querier interface {
CreateConsentChallenge(ctx context.Context, arg CreateConsentChallengeParams) (string, error)
GetConsentChallengeByID(ctx context.Context, id string) (GetConsentChallengeByIDRow, error)
GetConsentChallengeByIDForUpdate(ctx context.Context, id string) (GetConsentChallengeByIDForUpdateRow, error)
GetConsentChallengeByVerifierIDForUpdate(ctx context.Context, verifierID pgtype.Text) (GetConsentChallengeByVerifierIDForUpdateRow, error)
UpdateConsentChallengeVerifier(ctx context.Context, arg UpdateConsentChallengeVerifierParams) error
}
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateConsentChallenge ¶
func (*Queries) GetConsentChallengeByID ¶
func (*Queries) GetConsentChallengeByIDForUpdate ¶
func (*Queries) GetConsentChallengeByVerifierIDForUpdate ¶
func (*Queries) UpdateConsentChallengeVerifier ¶
func (q *Queries) UpdateConsentChallengeVerifier(ctx context.Context, arg UpdateConsentChallengeVerifierParams) error
Click to show internal directories.
Click to hide internal directories.