Documentation
¶
Index ¶
- type CreateAuthCodeParams
- type DBTX
- type GetAuthCodeChallengeStateRow
- type GetAuthCodeRow
- type InvalidateAuthCodesBySubjectAndClientParams
- type Querier
- type Queries
- func (q *Queries) CreateAuthCode(ctx context.Context, arg CreateAuthCodeParams) error
- func (q *Queries) GetAuthCode(ctx context.Context, signature string) (GetAuthCodeRow, error)
- func (q *Queries) GetAuthCodeChallengeState(ctx context.Context, signature string) (GetAuthCodeChallengeStateRow, error)
- func (q *Queries) InvalidateAuthCode(ctx context.Context, signature string) (int64, error)
- func (q *Queries) InvalidateAuthCodesBySubjectAndClient(ctx context.Context, arg InvalidateAuthCodesBySubjectAndClientParams) (int64, error)
- func (q *Queries) RestoreAuthCodeChallengeState(ctx context.Context, arg RestoreAuthCodeChallengeStateParams) (int64, error)
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type RestoreAuthCodeChallengeStateParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateAuthCodeParams ¶
type GetAuthCodeChallengeStateRow ¶ added in v1.52.0
type GetAuthCodeRow ¶
type GetAuthCodeRow struct {
Signature string
RequestID string
ClientID string
Subject string
RequestedScopes []string
GrantedScopes []string
RequestedAudiences []string
GrantedAudiences []string
FormData string
SessionData []byte
Active bool
RequestedAt pgtype.Timestamptz
ExpiresAt pgtype.Timestamptz
}
type InvalidateAuthCodesBySubjectAndClientParams ¶ added in v1.63.0
type Querier ¶
type Querier interface {
CreateAuthCode(ctx context.Context, arg CreateAuthCodeParams) error
GetAuthCode(ctx context.Context, signature string) (GetAuthCodeRow, error)
GetAuthCodeChallengeState(ctx context.Context, signature string) (GetAuthCodeChallengeStateRow, error)
InvalidateAuthCode(ctx context.Context, signature string) (int64, error)
InvalidateAuthCodesBySubjectAndClient(ctx context.Context, arg InvalidateAuthCodesBySubjectAndClientParams) (int64, error)
RestoreAuthCodeChallengeState(ctx context.Context, arg RestoreAuthCodeChallengeStateParams) (int64, error)
}
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateAuthCode ¶
func (q *Queries) CreateAuthCode(ctx context.Context, arg CreateAuthCodeParams) error
func (*Queries) GetAuthCode ¶
func (*Queries) GetAuthCodeChallengeState ¶ added in v1.52.0
func (*Queries) InvalidateAuthCode ¶
func (*Queries) InvalidateAuthCodesBySubjectAndClient ¶ added in v1.63.0
func (*Queries) RestoreAuthCodeChallengeState ¶ added in v1.52.0
Click to show internal directories.
Click to hide internal directories.