class VerifyVspClient::AuthenticationRequest

SAML Authentication Request used to start the verification user journey.

Use by calling AuthenticationRequest.generate to generate a new authentication request via the Verify Service Provider

Attributes

request_id[R]
saml_request[R]
sso_location[R]

Public Class Methods

generate() click to toggle source
# File lib/verify_vsp_client/authentication_request.rb, line 15
def self.generate
  request = VerifyVspClient::ServiceProvider.new.generate_request

  new(
    saml_request: request["samlRequest"],
    request_id: request["requestId"],
    sso_location: request["ssoLocation"]
  )
end
new(saml_request:, request_id:, sso_location:) click to toggle source
# File lib/verify_vsp_client/authentication_request.rb, line 9
def initialize(saml_request:, request_id:, sso_location:)
  @saml_request = saml_request
  @request_id = request_id
  @sso_location = sso_location
end