A recorded grant of scope by a subject to a client. Unique on
{subject, client_id}; scope is the union granted so far, so a request for
a scope outside it re-prompts (the spec's confused-deputy requirement).
Summary
Types
@type t() :: %Noizu.MCP.Auth.Server.Store.Consent{ client_id: String.t(), expires_at: DateTime.t() | nil, granted_at: DateTime.t() | nil, resource: String.t() | nil, scope: [String.t()], subject: String.t() }