electron-authentication-hatena
Version:
Hatena OAuth Window library.
13 lines • 425 B
JavaScript
// LICENSE : MIT
;
Object.defineProperty(exports, "__esModule", { value: true });
/**
* build scope query string from scopes string array.
* @param {string[]} scopes scopes are string of http://developer.hatena.com/ja/documents/auth/apis/oauth/scopes
* @returns {string}
*/
function buildScope(scopes) {
return scopes.join("%2C");
}
exports.buildScope = buildScope;
//# sourceMappingURL=hatenaOauth.js.map