public synchronized FutureTask < BoxAuthenticationInfo > create ( BoxSession session , final String code ) { FutureTask < BoxAuthenticationInfo > task = doCreate ( session , code ) ; BoxAuthentication . AUTH_EXECUTOR . submit ( task ) ; return task ; }
Create Oauth for the first time . This method should be called by ui to authenticate the user for the first time .