Method: OryClient::LoginFlow#valid?

Defined in:
lib/ory-client/models/login_flow.rb

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



288
289
290
291
292
293
294
295
296
297
298
299
# File 'lib/ory-client/models/login_flow.rb', line 288

def valid?
  warn '[DEPRECATED] the `valid?` method is obsolete'
  active_validator = EnumAttributeValidator.new('String', ["password", "oidc", "totp", "lookup_secret", "webauthn", "code", "passkey", "profile", "saml", "link_recovery", "code_recovery"])
  return false unless active_validator.valid?(@active)
  return false if @expires_at.nil?
  return false if @id.nil?
  return false if @issued_at.nil?
  return false if @request_url.nil?
  return false if @type.nil?
  return false if @ui.nil?
  true
end