Skip to content

Instantly share code, notes, and snippets.

@zoltanarvai
Created March 23, 2019 20:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zoltanarvai/f99ab12e40dda3c0d213a7c31f1f5ed9 to your computer and use it in GitHub Desktop.
Save zoltanarvai/f99ab12e40dda3c0d213a7c31f1f5ed9 to your computer and use it in GitHub Desktop.
defmodule Auth.Identity do
@moduledoc """
This struct represents the Identitiy accessible on each connection
"""
@enforce_keys [:id]
defstruct id: nil
@type t() :: [
id: String.t()
]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment