# `Accrue.Connect.LoginLink`
[🔗](https://github.com/szTheory/accrue/blob/accrue-v0.3.0/lib/accrue/connect/login_link.ex#L1)

Express dashboard return credential for a connected account.

The `:url` field is a single-use, short-lived bearer credential that
logs the Express connected account owner into their Stripe Express
dashboard. **Login Links are only valid for `type: "express"`
connected accounts** — calling Stripe with a Standard or Custom
account returns HTTP 400. `Accrue.Connect.create_login_link/2` fails
fast locally before reaching the processor.

As with `Accrue.Connect.AccountLink`, the `:url` field is masked in
Inspect output. Create-only resource.

# `t`

```elixir
@type t() :: %Accrue.Connect.LoginLink{
  created: DateTime.t(),
  object: String.t(),
  url: String.t()
}
```

# `from_stripe`

```elixir
@spec from_stripe(map() | struct()) :: t()
```

Projects a raw processor response (atom- or string-keyed map, or a
bare processor struct unwrapped to map form) into a tightly-typed
`t()`. The Unix integer `created` timestamp is converted to
`DateTime` via `DateTime.from_unix!/1`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
