-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Conversation
…ators; prevent project synchronizing when factory used Signed-off-by: Max Shaposhnik <mshaposhnik@codenvy.com>
good job! |
@@ -21,5 +22,7 @@ | |||
|
|||
void authorize(String authenticatorUrl, AsyncCallback<OAuthStatus> callback); | |||
|
|||
Promise<OAuthStatus> authorize(String authenticationUrl); |
There was a problem hiding this comment.
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?
ок |
@@ -19,7 +20,9 @@ | |||
*/ | |||
public interface OAuth2Authenticator { | |||
|
|||
void authorize(String authenticatorUrl, AsyncCallback<OAuthStatus> callback); | |||
void authenticate(String authenticatorUrl, AsyncCallback<OAuthStatus> callback); |
There was a problem hiding this comment.
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
other OK |
Signed-off-by: Max Shaposhnik <mshaposhnik@codenvy.com>
CODENVY-170 add promise-based authorization method to OAUth authenticators; prevent project synchronizing when factory used
…ators; prevent project synchronizing when factory used
Signed-off-by: Max Shaposhnik mshaposhnik@codenvy.com