File tree Expand file tree Collapse file tree 5 files changed +48
-7
lines changed
Expand file tree Collapse file tree 5 files changed +48
-7
lines changed Original file line number Diff line number Diff line change 1010 pull_request :
1111 branches :
1212 - master
13- release :
14- types : [ published ]
1513
1614jobs :
1715 tests :
Original file line number Diff line number Diff line change 1+ name : Publish Egg
2+
3+ env :
4+ DENO_VERSION : 1.4.6
5+
6+ on :
7+ release :
8+ types : [published]
9+
10+ jobs :
11+ publish-egg :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v2
15+
16+ - uses : denolib/setup-deno@master
17+ with :
18+ deno-version : ${{env.DENO_VERSION}}
19+
20+ - run : deno install -A -f --unstable -n eggs https://x.nest.land/eggs@0.2.3/mod.ts
21+ - run : |
22+ export PATH="/home/runner/.deno/bin:$PATH"
23+ eggs link ${{ secrets.NESTAPIKEY }}
24+ eggs publish
Original file line number Diff line number Diff line change 11# Oak Middleware JWT
2-
2+ [ ![ GitHub release (latest SemVer) ] ( https://img.shields.io/github/v/release/halvardssm/oak-middleware-jwt?logo=deno&style=flat-square )] ( https://github.com/halvardssm/oak-middleware-jwt )
33[ ![ GitHub Workflow Status (branch)] ( https://img.shields.io/github/workflow/status/halvardssm/oak-middleware-jwt/CI/master?style=flat-square&logo=github )] ( https://github.com/halvardssm/oak-middleware-jwt/actions?query=branch%3Amaster+workflow%3ACI )
44[ ![ (Deno)] ( https://img.shields.io/badge/deno-v1.4.6-green.svg?style=flat-square&logo=deno )] ( https://deno.land )
55[ ![ (Deno)] ( https://img.shields.io/badge/oak-v6.3.1-orange.svg?style=flat-square&logo=deno )] ( https://github.com/oakserver/oak )
66[ ![ (Deno)] ( https://img.shields.io/badge/djwt-v1.7-orange.svg?style=flat-square&logo=deno )] ( https://github.com/oakserver/oak )
77[ ![ deno doc] ( https://img.shields.io/badge/deno-doc-blue.svg?style=flat-square&logo=deno )] ( https://doc.deno.land/https/raw.githubusercontent.com/halvardssm/oak-middleware-jwt/master/mod.ts )
8+ [ ![ nest badge] ( https://nest.land/badge-block.svg )] ( https://nest.land/package/Nessie )
89
910Oak middleware for JWT
1011
Original file line number Diff line number Diff line change @@ -4,23 +4,23 @@ export {
44} from "https://deno.land/std@0.74.0/testing/asserts.ts" ;
55export {
66 JwtObject ,
7- Validation ,
8- validateJwt ,
97 JwtValidation ,
8+ validateJwt ,
9+ Validation ,
1010} from "https://deno.land/x/djwt@v1.7/validate.ts" ;
1111export {
12+ Algorithm ,
1213 Jose ,
1314 makeJwt ,
1415 Payload ,
15- Algorithm ,
1616 setExpiration ,
1717} from "https://deno.land/x/djwt@v1.7/create.ts" ;
1818export { createHttpError } from "https://deno.land/x/oak@v6.3.1/httpError.ts" ;
1919export {
2020 Context ,
21+ HTTPMethods ,
2122 Middleware ,
2223 RouterContext ,
2324 RouterMiddleware ,
24- HTTPMethods ,
2525 Status ,
2626} from "https://deno.land/x/oak@v6.3.1/mod.ts" ;
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " Oak Middleware JWT" ,
3+ "entry" : " ./mod.ts" ,
4+ "description" : " Oak middleware for JWT validation using djwt" ,
5+ "homepage" : " https://github.com/halvardssm/oak-middleware-jwt" ,
6+ "version" : " 1.0.0" ,
7+ "files" : [
8+ " ./mod.ts" ,
9+ " ./deps.ts" ,
10+ " ./src/**/*" ,
11+ " ./README.md" ,
12+ " ./LICENSE"
13+ ],
14+ "checkFormat" : false ,
15+ "checkTests" : false ,
16+ "checkInstallation" : false ,
17+ "check" : false
18+ }
You can’t perform that action at this time.
0 commit comments