Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
sso
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曲欣亮
sso
Commits
1fe276cd
Commit
1fe276cd
authored
Jul 29, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
563cbc97
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
30 additions
and
5 deletions
+30
-5
StringUtil.java
src/main/java/com/egolm/sso/StringUtil.java
+1
-1
SSORequest.java
src/main/java/com/egolm/sso/api/SSORequest.java
+15
-0
OAuthApi.java
src/main/java/com/egolm/sso/oauth/OAuthApi.java
+3
-1
OAuthApiException.java
src/main/java/com/egolm/sso/oauth/OAuthApiException.java
+1
-1
OAuthConfig.java
src/main/java/com/egolm/sso/oauth/OAuthConfig.java
+1
-1
OAuthToken.java
src/main/java/com/egolm/sso/oauth/OAuthToken.java
+1
-1
package-info.java
src/main/java/com/egolm/sso/oauth/package-info.java
+8
-0
No files found.
src/main/java/com/egolm/sso/
api/
StringUtil.java
→
src/main/java/com/egolm/sso/StringUtil.java
View file @
1fe276cd
package
com
.
egolm
.
sso
.
api
;
package
com
.
egolm
.
sso
;
import
java.io.UnsupportedEncodingException
;
import
java.io.UnsupportedEncodingException
;
import
java.net.URLEncoder
;
import
java.net.URLEncoder
;
...
...
src/main/java/com/egolm/sso/api/SSORequest.java
0 → 100644
View file @
1fe276cd
package
com
.
egolm
.
sso
.
api
;
import
java.util.Map
;
import
com.egolm.sso.oauth.OAuthApi
;
public
interface
SSORequest
{
OAuthApi
getOAuthApi
();
default
String
post
(
String
url
,
Object
body
,
Map
<
String
,
String
>
header
)
{
return
null
;
}
}
src/main/java/com/egolm/sso/
api
/OAuthApi.java
→
src/main/java/com/egolm/sso/
oauth
/OAuthApi.java
View file @
1fe276cd
package
com
.
egolm
.
sso
.
api
;
package
com
.
egolm
.
sso
.
oauth
;
import
java.util.Map
;
import
java.util.Map
;
...
@@ -19,6 +19,8 @@ import org.apache.oltu.oauth2.common.OAuth;
...
@@ -19,6 +19,8 @@ import org.apache.oltu.oauth2.common.OAuth;
import
org.apache.oltu.oauth2.common.exception.OAuthProblemException
;
import
org.apache.oltu.oauth2.common.exception.OAuthProblemException
;
import
org.apache.oltu.oauth2.common.message.types.GrantType
;
import
org.apache.oltu.oauth2.common.message.types.GrantType
;
import
com.egolm.sso.StringUtil
;
public
interface
OAuthApi
{
public
interface
OAuthApi
{
OAuthConfig
getOAuthConfig
();
OAuthConfig
getOAuthConfig
();
...
...
src/main/java/com/egolm/sso/
api
/OAuthApiException.java
→
src/main/java/com/egolm/sso/
oauth
/OAuthApiException.java
View file @
1fe276cd
package
com
.
egolm
.
sso
.
api
;
package
com
.
egolm
.
sso
.
oauth
;
public
class
OAuthApiException
extends
RuntimeException
{
public
class
OAuthApiException
extends
RuntimeException
{
...
...
src/main/java/com/egolm/sso/
api
/OAuthConfig.java
→
src/main/java/com/egolm/sso/
oauth
/OAuthConfig.java
View file @
1fe276cd
package
com
.
egolm
.
sso
.
api
;
package
com
.
egolm
.
sso
.
oauth
;
import
java.io.Serializable
;
import
java.io.Serializable
;
...
...
src/main/java/com/egolm/sso/
api
/OAuthToken.java
→
src/main/java/com/egolm/sso/
oauth
/OAuthToken.java
View file @
1fe276cd
package
com
.
egolm
.
sso
.
api
;
package
com
.
egolm
.
sso
.
oauth
;
import
java.io.Serializable
;
import
java.io.Serializable
;
...
...
src/main/java/com/egolm/sso/oauth/package-info.java
0 → 100644
View file @
1fe276cd
/**
*
*/
/**
* @author Quxl
*
*/
package
com
.
egolm
.
sso
.
oauth
;
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment