Packages

OpenAPI API client for Ory Kratos, Ory's central identity management solution with hardened authentication, MFA, FIDO2, TOTP, WebAuthn, SSO, profile management, and more.

Current section

Files

Jump to
ory_kratos lib ory model session_device.ex
Raw

lib/ory/model/session_device.ex

# NOTE: This file is auto generated by OpenAPI Generator 6.2.1 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule Ory.Model.SessionDevice do
@moduledoc """
Device corresponding to a Session
"""
@derive [Poison.Encoder]
defstruct [
:id,
:ip_address,
:location,
:user_agent
]
@type t :: %__MODULE__{
:id => String.t,
:ip_address => String.t | nil,
:location => String.t | nil,
:user_agent => String.t | nil
}
end
defimpl Poison.Decoder, for: Ory.Model.SessionDevice do
def decode(value, _options) do
value
end
end