# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule Ory.Model.IdTokenClaims do @moduledoc """ IDTokenClaims represent the claims used in open id connect requests """ @derive [Poison.Encoder] defstruct [ :acr, :amr, :at_hash, :aud, :auth_time, :c_hash, :exp, :ext, :iat, :iss, :jti, :nonce, :rat, :sub ] @type t :: %__MODULE__{ :acr => String.t | nil, :amr => [String.t] | nil, :at_hash => String.t | nil, :aud => [String.t] | nil, :auth_time => DateTime.t | nil, :c_hash => String.t | nil, :exp => DateTime.t | nil, :ext => %{optional(String.t) => AnyType} | nil, :iat => DateTime.t | nil, :iss => String.t | nil, :jti => String.t | nil, :nonce => String.t | nil, :rat => DateTime.t | nil, :sub => String.t | nil } end defimpl Poison.Decoder, for: Ory.Model.IdTokenClaims do import Ory.Deserializer def decode(value, options) do value |> deserialize(:ext, :map, Ory.Model.AnyType, options) end end