Commit 1fe276cd authored by Quxl's avatar Quxl

x

parent 563cbc97
package com.egolm.sso.api;
package com.egolm.sso;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
......
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;
}
}
package com.egolm.sso.api;
package com.egolm.sso.oauth;
import java.util.Map;
......@@ -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.message.types.GrantType;
import com.egolm.sso.StringUtil;
public interface OAuthApi {
OAuthConfig getOAuthConfig();
......
package com.egolm.sso.api;
package com.egolm.sso.oauth;
public class OAuthApiException extends RuntimeException {
......
package com.egolm.sso.api;
package com.egolm.sso.oauth;
import java.io.Serializable;
......
package com.egolm.sso.api;
package com.egolm.sso.oauth;
import java.io.Serializable;
......
/**
*
*/
/**
* @author Quxl
*
*/
package com.egolm.sso.oauth;
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment