# `DripDrop.Channels.Email.OAuthToken`
[🔗](https://github.com/agoodway/dripdrop/blob/v0.1.0/lib/dripdrop/channels/email/oauth_token.ex#L1)

Retrieves and caches host-owned OAuth access tokens for email providers.

DripDrop never performs OAuth flows or stores refresh tokens. This module
calls the adapter's `token_callback` and caches only the returned access token
until its expiry.

# `get`

```elixir
@spec get(map(), atom()) :: {:ok, binary()} | {:error, term()}
```

Returns a cached OAuth access token or refreshes one with the adapter callback.

---

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