File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -89,10 +89,15 @@ this prefix is now set using `settings.sp_uuid_prefix`:
8989``` ruby
9090# Change the default prefix from `_` to `my_id_`
9191settings.sp_uuid_prefix = ' my_id_'
92+
93+ # Create the AuthNRequest message
94+ request = RubySaml ::Authrequest .new
95+ request.create(settings)
96+ request.uuid # => "my_id_a1b3c5d7-9f1e-3d5c-7b1a-9f1e3d5c7b1a"
9297```
9398
9499A side-effect of this change is that the ` uuid ` of the ` Authrequest ` , ` Logoutrequest ` , and ` Logoutresponse `
95- classes now is ` nil ` until the ` #create ` method is called (previously, it was generated during object instantiation .)
100+ classes now is ` nil ` until the ` #create ` method is called (previously, it was set in the constructor .)
96101After calling ` #create ` for the first time the ` uuid ` will not change, even if a ` Settings ` object with
97102a different ` sp_uuid_prefix ` is passed-in on subsequent calls.
98103
You can’t perform that action at this time.
0 commit comments