Skip to content

Commit 01c2839

Browse files
Merge pull request #4 from solid/update-jose
Update to use latest solid/jose dependency (no json-document etc).
2 parents ac0445c + f779798 commit 01c2839

File tree

6 files changed

+1058
-417
lines changed

6 files changed

+1058
-417
lines changed

LICENSE.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
MIT License
22

3-
Copyright (c) 2016 - present [Anvil Research, Inc.](http://anvil.io)
3+
Copyright (c) 2016 [Anvil Research, Inc.](http://anvil.io)
4+
Copyright (c) 2017-2019 The Solid Project
45

56
Permission is hereby granted, free of charge, to any person obtaining a copy
67
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ OpenID Connect Resource Server Authentication for Node.js
1111
* [x] Multiple issuer support
1212
* [x] Scope validation
1313
* [x] Allow and deny access by "iss", "aud", and "sub" claims
14-
* [ ] OAuth 2.0 Token Introspection (RFC 7662)
15-
* [ ] Cookie Token Authentication (Specification pending)
1614

1715
## Usage
1816

@@ -33,13 +31,13 @@ const ResourceServer = require('@solid/oidc-rs')
3331
ResourceServer maintains a cache of provider metadata and JSON Web Keys for verifying signatures. Provider discovery and acquisition of keys takes place when a JWT access token is decoded. The provider metadata and JWK Set are cached in memory. Therefore no configuration is required.
3432

3533
```
36-
let rs = new ResourceServer()
34+
const rs = new ResourceServer()
3735
```
3836

3937
The provider cache can be serialized and persisted, then restored like so:
4038

4139
```
42-
let providers = require('./providers.json')
40+
const providers = require('./providers.json')
4341
ResourceServer.from({providers}).then(rs => /* ... */)
4442
```
4543

@@ -98,6 +96,9 @@ $ npm test
9896

9997
## MIT License
10098

99+
[The MIT License](LICENSE.md)
100+
101101
Copyright (c) 2016 Anvil Research, Inc.
102+
Copyright (c) 2017-2019 The Solid Project
102103

103104

0 commit comments

Comments
 (0)