var passport = require('passport');
passport.use(new YJStrategy({
clientID : <YAHOO_JAPAN_APP_ID>,
clientSecret : <YAHOO_JAPAN_APP_SECRET>,
callbackURL : <CALL_BACK_URL>,
}, function(accessToken, refreshtoken, profile, done){
// With this accessToken you can access user profile data.
// In the case that accessToken is expired, you should
// regain it with refreshToken. So you have to keep these token
// safely. done will get user profile data such as openid in YConnect
});