Skip to content

Commit 6faba77

Browse files
committed
finalized docs and ready for release
1 parent f16d2ad commit 6faba77

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

changelog.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
----
99

10-
## [2.15.0] => 2021-NOV
10+
## [2.15.0] => 2021-DEC-10
1111

1212
### 🚀 Added
1313

14-
* Pass custom claims from `refreshToken()` method when refreshing tokens
15-
* Pass in the current jwt payload in to `getJWTCustomClaims`
14+
* Pass custom claims from `refreshToken( token, customClaims)` method when refreshing tokens
15+
* Pass in the current jwt payload in to `getJWTCustomClaims( payload )`
1616

1717
### 🐛 Fixed
1818

@@ -230,7 +230,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
230230
* If a rule is matched, we will store it in the `prc` as `cbSecurity_matchedRule` so you can see which security rule was used for processing invalid access actions.
231231
* If a rule is matched we will store the validator results in `prc` as `cbSecurity_validatorResults`
232232
* Ability for modules to register cbSecurity rules and setting overrides by registering a `settings.cbSecurity` key.
233-
* Ability for modules to override the `validator` setting. So each module can have their own security validator schema.
233+
* Ability for modules to override the `validator` setting. So each module can have their own security validator schema.
234234
* New security rule visualizer for graphically seeing you rules and configuration. Can be locked down via the `enableSecurityVisualizer` setting. Disabled by default.
235235

236236
```json
@@ -309,7 +309,7 @@ settings = {
309309
## [1.0.2]
310310

311311
* Removed `getPlugin()` deprecated calls to new approach.
312-
* https://ortussolutions.atlassian.net/browse/CCM-26 cbsecurity ocm rules not ColdBox 4 compat
312+
* https://ortussolutions.atlassian.net/browse/CCM-26 cbsecurity ocm rules not ColdBox 4 compat
313313

314314
## [1.0.1]
315315

interfaces/jwt/IJwtSubject.cfc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77
interface{
88

99
/**
10-
* A struct of custom claims to add to the JWT token
10+
* A struct of custom claims to add to the JWT token when creating it
11+
*
12+
* @payload The actual payload structure that was used in the request
13+
*
14+
* @return A structure of custom claims
1115
*/
1216
struct function getJwtCustomClaims( required struct payload );
1317

@@ -16,4 +20,4 @@ interface{
1620
*/
1721
array function getJwtScopes();
1822

19-
}
23+
}

0 commit comments

Comments
 (0)