UNPKG

electron-authentication-hatena

Version:
13 lines 425 B
// LICENSE : MIT "use strict"; 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