Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CODENVY-170 add promise-based authorization method to OAUth authenticators; prevent project synchronizing when factory used #585

Merged
merged 2 commits into from
Mar 1, 2016

Conversation

mshaposhnik
Copy link
Contributor

…ators; prevent project synchronizing when factory used

Signed-off-by: Max Shaposhnik mshaposhnik@codenvy.com

…ators; prevent project synchronizing when factory used

Signed-off-by: Max Shaposhnik <mshaposhnik@codenvy.com>
@mshaposhnik
Copy link
Contributor Author

@vparfonov @skabashnyuk

@vparfonov
Copy link
Contributor

good job!

@@ -21,5 +22,7 @@

void authorize(String authenticatorUrl, AsyncCallback<OAuthStatus> callback);

Promise<OAuthStatus> authorize(String authenticationUrl);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

authorize but authenticationUrl
Mb authorizationUrl? or authenticate?

@skabashnyuk
Copy link
Contributor

ок

@@ -19,7 +20,9 @@
*/
public interface OAuth2Authenticator {

void authorize(String authenticatorUrl, AsyncCallback<OAuthStatus> callback);
void authenticate(String authenticatorUrl, AsyncCallback<OAuthStatus> callback);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

first method with authenticatorUrl and second method with authenticationUrl. If there isn't any difference between them let's make them the same

@sleshchenko
Copy link
Member

other OK

Signed-off-by: Max Shaposhnik <mshaposhnik@codenvy.com>
mshaposhnik added a commit that referenced this pull request Mar 1, 2016
CODENVY-170 add promise-based authorization method to OAUth authenticators; prevent project synchronizing when factory used
@mshaposhnik mshaposhnik merged commit 88b7917 into master Mar 1, 2016
@mshaposhnik mshaposhnik deleted the CODENVY-170 branch March 1, 2016 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants