Skip to content

Commit

Permalink
[bugfix] Add the correct type signature for the saml:Assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
adamretter committed Oct 14, 2023
1 parent 19ffa92 commit 18f466d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/exsaml.xqm
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ declare %private function exsaml:validate-saml-response($cid as xs:string, $resp
:
: @return an element indicating the result of the validation.
:)
declare %private function exsaml:validate-saml-assertion($cid as xs:string, $assertion as item()) as element(exsaml:funcret) {
declare %private function exsaml:validate-saml-assertion($cid as xs:string, $assertion as element(saml:Assertion)) as element(exsaml:funcret) {
if (empty($assertion))
then
let $log := exsaml:log("info", $cid, "Error: Empty Assertion")
Expand Down

0 comments on commit 18f466d

Please sign in to comment.