MCPcopy Index your code
hub / github.com/tinyauthapp/tinyauth / DeleteOidcToken

Method DeleteOidcToken

internal/repository/oidc_queries.sql.go:271–274  ·  view source on GitHub ↗
(ctx context.Context, accessTokenHash string)

Source from the content-addressed store, hash-verified

269`
270
271func (q *Queries) DeleteOidcToken(ctx context.Context, accessTokenHash string) error {
272 _, err := q.db.ExecContext(ctx, deleteOidcToken, accessTokenHash)
273 return err
274}
275
276const deleteOidcTokenByCodeHash = `-- name: DeleteOidcTokenByCodeHash :exec
277DELETE FROM "oidc_tokens"

Callers 1

DeleteTokenMethod · 0.80

Calls 1

ExecContextMethod · 0.80

Tested by

no test coverage detected