![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Deepexi Egg's JWT(JSON Web Token Authentication Plugin)
$ npm i egg-jwt2 --save
// {app_root}/config/plugin.js
exports.jwt = {
enable: true,
package: "egg-jwt2"
};
// {app_root}/config/config.default.js
'use strict';
exports.jwt = {
enable: true,
// match和ignore不能同时使用
match: '/login/1',
};
see config/config.default.js for more detail.
// app/router.js
"use strict";
module.exports = app => {
app.get('/test',app.controller.test.index);
// if you want use middleware
app.get('/test',app.middleware.jwt(),app.controller.test.index);
};
// app/controller/test.js
("use strict");
module.exports = app => {
class SuccessController extends app.Controller {
index() {
console.log('query body : ', this.ctx.query);
this.ctx.body = this.ctx.query;
}
}
return SuccessController;
};
Please open an issue here.
FAQs
egg jwt2 plugin for egg
The npm package egg-jwt2 receives a total of 1 weekly downloads. As such, egg-jwt2 popularity was classified as not popular.
We found that egg-jwt2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.