# spring-oauth2 **Repository Path**: spring-auth/spring-oauth2 ## Basic Information - **Project Name**: spring-oauth2 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-08-31 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # spring-oauth2 #### 介绍 1. 获取授权码[GET http://192.168.0.100:5000/oauth/authorize?client_id=client&response_type=code] 1. 获取令牌[POST http://192.168.0.100:5000/oauth/token?client_id=client&client_secret=seret&code=code&grant_type=authorization_code] 1. 刷新令牌[POST http://192.168.0.100:5000/oauth/token?client_id=client&client_secret=seret&refresh_token=refresh_token&grant_type=authorization_code] 1. 检查令牌[GET http://192.168.0.100:5000/oauth/check_token?token=access_token] 1. 获取资源[POST http://192.168.0.100:6061/contents/?access_token=access_token]