Code Monkey home page Code Monkey logo

shiboys / cola Goto Github PK

View Code? Open in Web Editor NEW

This project forked from leecho/cola

0.0 1.0 0.0 155 KB

基于SpringBoot2/SpringSecurity/SpringSocial/SpringSecurityOAuth2构建的互联网应用基础框架,包含认证中心、消息通知、安全中心和用户中心。支持Session/JWT/OAuth2认证模式,支持账号密码/短信验证码/社会化登录等登录模式。接入支付宝/微信/QQ/微信公众号/微信小程序等第三方平台,支持Web应用和App应用,可快速构建SSO平台和OpenAPI平台。

License: MIT License

Java 75.18% HTML 24.71% CSS 0.11%

cola's Introduction

Cola

简介

Cola是一个互联网应用基础组件,基于SpringBoot2/SpringSecurity/SpringSession/SpringSocial/SpringSecurityOAuth2构建,着重于解决互联网应用分布式集群场景下的身份认证,并提供丰富的认证方式和社会化认证集成。也包含其他支撑系统,例如:用户中心、安全中心、通知中心。能够满足所有互联网应用的所有认证需求,并通过基础组件来支撑互联网应用快速开发。

组件列表

组件代码 组件名称 说明
cola-auth 认证组件 提供认证服务
cola-user 用户中心 提供用户服务
cola-security 安全中心 提供凭证验证等安全服务
cola-notify 通知中心 提供消息通知服务

认证模式

  • Web Session认证
  • Jwt Token认证
  • OAuth2 Token认证

登录方式

  • 账号密码登录
  • 短信验证码登录
  • 第三方集成登录(支付宝、微信、QQ)

通过Cola可快速的多种构建认证服务

认证服务

  • SSO 基于OAuth2构建SSO平台
  • Spring Cloud微服务集群认证服务
  • OpenAPI 基于OAuth2构建开放平台

通过对SpringSecurityOAuth2进行增强,支持短信验证码、第三方登录等授权模式

OAuth2扩展授权模式

  • 通过短信验证码获取Token
  • 通过第三方OpenId获取Token
  • 通过第三方AuthorizationCode获取Token

实例项目

项目 认证模式 适用场景
cola-sample-jwt JWT APP/小程序
cola-sample-oauth2 OAuth2 APP/小程序/开放平台和微服务平台的认证服务
cola-sample-sso Session&OAuth2 Web应用/APP/小程序集成认证
cola-sample-web Session Web应用
cola-sample-social Session Web应用/SSO服务

cola's People

Contributors

leecho avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.