Class: UDAPSecurityTestKit::UDAPClientAssertionPayloadBuilder
- Inherits:
-
Object
- Object
- UDAPSecurityTestKit::UDAPClientAssertionPayloadBuilder
- Defined in:
- lib/udap_security_test_kit/udap_client_assertion_payload_builder.rb
Class Method Summary collapse
Class Method Details
.build(iss, aud, extensions) ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 |
# File 'lib/udap_security_test_kit/udap_client_assertion_payload_builder.rb', line 3 def self.build(iss, aud, extensions) { iss:, sub: iss, aud:, exp: 5.minutes.from_now.to_i, iat: Time.now.to_i, jti: SecureRandom.hex(32), extensions: }.compact end |