
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
github.com/bjaiwu/go-oauth2-sqlite
[![Build][Build-Status-Image]][Build-Status-Url] [![Codecov][codecov-image]][codecov-url] [![GoDoc][godoc-image]][godoc-url] [![License][license-image]][license-url]
$ go get -u -v github.com/bjaiwu/go-oauth2-sqlite
package main
import (
"database/sql"
_ "github.com/mattn/go-sqlite3"
sqlite "github.com/bjaiwu/go-oauth2-sqlite"
"github.com/jmoiron/sqlx"
)
func main() {
db, err = sql.Open("sqlite3", "file:db.db?cache=shared") //若数据库没有在这个项目文件下,则需要写绝对路径
if err != nil {
panic(err.Error())
}
clientStore, _ := sqlite.NewClientStore(db, mysql.WithClientStoreTableName("custom_table_name"))
tokenStore, _ := sqlite.NewTokenStore(db)
}
Copyright (c) 2021 yxge.net
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.