Skip to content

Commit

Permalink
feat: Make decrypt_assertion/2 public
Browse files Browse the repository at this point in the history
So we can build dev tools to decrypt a payload without the validation
part, without reinventing the whole decryption logic, instead getting
the same behaviour as in prod.
  • Loading branch information
sebn committed Mar 3, 2023
1 parent 5df8e14 commit 5f12dcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/esaml_sp.erl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
-include_lib("xmerl/include/xmerl.hrl").

-export([setup/1, generate_authn_request/2, generate_authn_request/3, generate_metadata/1]).
-export([validate_assertion/2, validate_assertion/3]).
-export([validate_assertion/2, validate_assertion/3, decrypt_assertion/2]).
-export([generate_logout_request/3, generate_logout_request/4, generate_logout_response/3]).
-export([validate_logout_request/2, validate_logout_response/2]).

Expand Down

0 comments on commit 5f12dcd

Please sign in to comment.