We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b843467 commit 8e48c90Copy full SHA for 8e48c90
1 file changed
lib/onelogin/ruby-saml/authrequest.rb
@@ -20,8 +20,8 @@ class Authrequest < SamlMessage
20
# Initializes the AuthNRequest. An Authrequest Object that is an extension of the SamlMessage class.
21
# Asigns an ID, a random uuid.
22
#
23
- def initialize
24
- @uuid = OneLogin::RubySaml::Utils.uuid
+ def initialize(**options)
+ @uuid = "#{options[:id_prefix]}#{OneLogin::RubySaml::Utils.uuid}#{options[:id_suffix]}"
25
end
26
27
def request_id
0 commit comments