├── .idea ├── .gitignore ├── go-sso.iml ├── misc.xml ├── modules.xml └── vcs.xml ├── LICENSE ├── README.md ├── api ├── index.go └── user │ └── index.go ├── conf ├── config.go ├── mysql.go └── redis.go ├── data └── ssodb.sql ├── go.mod ├── go.sum ├── main.go ├── models ├── base.go ├── device.go ├── trace.go └── users.go ├── modules └── app │ ├── client.go │ ├── jwt.go │ └── login.go ├── test1.go └── utils ├── cache └── redis.go ├── common └── common.go ├── cookie └── cookie.go ├── handle └── validate.go ├── lang ├── cn.go ├── en.go └── language.go ├── request └── request.go ├── response └── response.go ├── server.go ├── sms └── sms.go └── verify └── verify.go /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | # Default ignored files 3 | /workspace.xml -------------------------------------------------------------------------------- /.idea/go-sso.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/.idea/go-sso.iml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/README.md -------------------------------------------------------------------------------- /api/index.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/api/index.go -------------------------------------------------------------------------------- /api/user/index.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/api/user/index.go -------------------------------------------------------------------------------- /conf/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/conf/config.go -------------------------------------------------------------------------------- /conf/mysql.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/conf/mysql.go -------------------------------------------------------------------------------- /conf/redis.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/conf/redis.go -------------------------------------------------------------------------------- /data/ssodb.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/data/ssodb.sql -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/go.sum -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/main.go -------------------------------------------------------------------------------- /models/base.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/models/base.go -------------------------------------------------------------------------------- /models/device.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/models/device.go -------------------------------------------------------------------------------- /models/trace.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/models/trace.go -------------------------------------------------------------------------------- /models/users.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/models/users.go -------------------------------------------------------------------------------- /modules/app/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/modules/app/client.go -------------------------------------------------------------------------------- /modules/app/jwt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/modules/app/jwt.go -------------------------------------------------------------------------------- /modules/app/login.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/modules/app/login.go -------------------------------------------------------------------------------- /test1.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/test1.go -------------------------------------------------------------------------------- /utils/cache/redis.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/utils/cache/redis.go -------------------------------------------------------------------------------- /utils/common/common.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/utils/common/common.go -------------------------------------------------------------------------------- /utils/cookie/cookie.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/utils/cookie/cookie.go -------------------------------------------------------------------------------- /utils/handle/validate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/utils/handle/validate.go -------------------------------------------------------------------------------- /utils/lang/cn.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/utils/lang/cn.go -------------------------------------------------------------------------------- /utils/lang/en.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/utils/lang/en.go -------------------------------------------------------------------------------- /utils/lang/language.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/utils/lang/language.go -------------------------------------------------------------------------------- /utils/request/request.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/utils/request/request.go -------------------------------------------------------------------------------- /utils/response/response.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/utils/response/response.go -------------------------------------------------------------------------------- /utils/server.go: -------------------------------------------------------------------------------- 1 | package utils 2 | 3 | -------------------------------------------------------------------------------- /utils/sms/sms.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/utils/sms/sms.go -------------------------------------------------------------------------------- /utils/verify/verify.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guyan0319/go-sso/HEAD/utils/verify/verify.go --------------------------------------------------------------------------------