Skip to content

Commit

Permalink
Update direct access to constructor prototype props to class props
Browse files Browse the repository at this point in the history
  • Loading branch information
VShingala committed Jun 20, 2024
1 parent d194827 commit 43753f5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/security/schemas/inputs/tokens/SAMLTokenInput.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
class SAMLTokenInput {
constructor() {
this.constructor_name = 'SAMLTokenInput';
this.includeToken = '';
this.issuerInfo = '';
this.claims = '';
Expand Down
1 change: 1 addition & 0 deletions lib/security/schemas/inputs/tokens/UsernameTokenInput.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
class UsernameTokenInput {
constructor() {
this.constructor_name = 'UsernameTokenInput';
this.includeToken = '';
this.issuerInfo = '';
this.claims = '';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
class TransportBindingInput {
constructor() {
this.constructor_name = 'TransportBindingInput';
this.transportToken = '';
this.algorithmSuite = '';
this.layout = '';
Expand Down
2 changes: 1 addition & 1 deletion lib/utils/SOAPHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ class SOAPHeader {
'TransportBindingInput': this.processSSLTransport,
'SAMLTokenInput': this.processSAMLToken
};
return handlers[element.constructor.name];
return handlers[element.constructor_name];
}

/**
Expand Down

0 comments on commit 43753f5

Please sign in to comment.