Skip to content

Commit

Permalink
feat: support required params validation - OKTA-332240 (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
shuowu authored Oct 13, 2020
1 parent 0c8886f commit c59b3a7
Show file tree
Hide file tree
Showing 14 changed files with 1,463 additions and 120 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Okta Node SDK Changelog

## 4.2.0

- [#205](https://github.com/okta/okta-sdk-nodejs/pull/205)
- Supports required params validation
- Adds models:
- AcsEndpoint
- CustomHotpUserFactor
- CustomHotpUserFactorProfile

## 4.0.0

- [#167](https://github.com/okta/okta-sdk-nodejs/pull/167) Drop support for Node 8
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"rasha": "^1.2.5"
},
"devDependencies": {
"@okta/openapi": "^2.0.0",
"@okta/openapi": "^2.1.0",
"chai": "^3.5.0",
"eslint": "^3.19.0",
"eslint-plugin-jest": "^21.17.0",
Expand Down
1 change: 1 addition & 0 deletions src/factories/UserFactorFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class UserFactorFactory extends ModelResolutionFactory {
return {
'call': models.CallUserFactor,
'email': models.EmailUserFactor,
'hotp': models.CustomHotpUserFactor,
'push': models.PushUserFactor,
'question': models.SecurityQuestionUserFactor,
'sms': models.SmsUserFactor,
Expand Down
Loading

0 comments on commit c59b3a7

Please sign in to comment.