Commit 385053b5 authored by Quxl's avatar Quxl

x

parent 2499d0e4
......@@ -44,7 +44,6 @@ public interface OAuthApi {
builder.setResponseType(OAuth.OAUTH_CODE);
builder.setClientId(config.getClientId());
builder.setRedirectURI(config.getRediretUrl());
builder.setScope(config.getClientScope());
OAuthClientRequest oauthResponse = builder.buildQueryMessage();
response.sendRedirect(oauthResponse.getLocationUri());
} catch (Exception e) {
......
......@@ -8,7 +8,6 @@ public class OAuthConfig implements Serializable{
private String clientId;
private String clientSecret;
private String clientScope;
private String rediretUrl;
private String authorizeUrl;
private String accessTokenUrl;
......@@ -29,14 +28,6 @@ public class OAuthConfig implements Serializable{
this.clientSecret = clientSecret;
}
public String getClientScope() {
return clientScope;
}
public void setClientScope(String clientScope) {
this.clientScope = clientScope;
}
public String getAuthorizeUrl() {
return authorizeUrl;
}
......
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