[ 
https://issues.apache.org/jira/browse/TINKERPOP-1977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16588864#comment-16588864
 ] 

ASF GitHub Bot commented on TINKERPOP-1977:
-------------------------------------------

Github user mattallenuk commented on the issue:

    https://github.com/apache/tinkerpop/pull/889
  
    @jorgebay I've rebased my TINKERPOP-1977 onto tp32 and made changes to the 
documentation. Not sure I've done it right as I'm seeing lots of conflicts here 
now lol! 
    
    Let me know if I've done it wrong and how to do it correctly.


> Gremlin-JavaScript: Support SASL authentication
> -----------------------------------------------
>
>                 Key: TINKERPOP-1977
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1977
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: javascript
>            Reporter: Jorge Bay
>            Priority: Major
>
> We should add support for SASL authentication flow, ideally a generic 
> interface and an implementation using username and password.
> An authenticator could have the following interface:
> {code:javascript}
> /** @abstract */
> class Authenticator {
>   /**
>   @returns {Promise} Returns a promise containing the Request to be sent.
>   When the Promise resolves to a null value, it indicates that the 
> authentication flow was successful.
>   */ 
>   evaluateChallenge(response) {
>     throw new Error("evaluateChallenge should be implemented");
>   }
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to