module Web.View.ApiKeys.Created where import Web.Types import Generated.Types import IHP.Prelude import IHP.ViewPrelude import Web.Routes () data CreatedView = CreatedView { consumer :: !ApiConsumer , fullKey :: !Text -- one-time display; never stored } instance View CreatedView where html CreatedView { .. } = [hsx|

API Key Created

Copy this key now — it will never be shown again.

{fullKey}

Use this key as a Bearer token in the Authorization header:

Authorization: Bearer {fullKey}
Back to Consumer
|]