# jfinal-oauth2.0-server **Repository Path**: 5095zhangwei/jfinal-oauth2.0-server ## Basic Information - **Project Name**: jfinal-oauth2.0-server - **Description**: jfinal-oauth2.0-server - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2015-11-07 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # jfinal-oauth2.0-server jfinal-oauth2.0-server 基于[JFinal2.0](https://github.com/JFinal/JFinal),[JFinal-ext2-1.0](https://github.com/BruceZCQ/JFinal-ext2),[JFianl-ext-3.1.4](https://github.com/b1412/jfinal-ext) 参考[RFC6749](http://www.rfcreader.com/#rfc6749) 实现了4.节描述的内容。 实现了OAuth 2.0定义了四种授权方式 授权码模式(authorization code): 先获取下次请求token的code,然后在带着code去请求token; 简化模式(implicit):直接请求token; 密码模式(resource owner password credentials): 先完成授权,然后再获取token; 客户端模式(client credentials): 类似密码保护模式; demo [http://localhost:8080/jfinal-oauth2.0-server/index.jsp](http://localhost:8080/jfinal-oauth2.0-server/index.jsp)