DatagroutConduit.Onramp.OnrampCredentials (DataGrout Conduit v0.5.0)

Copy Markdown View Source

Provisional credentials returned by the DG onramp complete endpoint.

Store client_id and client_secret securely — the secret is shown exactly once and cannot be recovered after this point.

mcp_url and rpc_url are provisioned as part of the identity registration step and may be absent from the initial onramp response. Use DatagroutConduit.Client.bootstrap_onramp/1 for the all-in-one flow that handles this transparently.

Summary

Types

t()

@type t() :: %DatagroutConduit.Onramp.OnrampCredentials{
  client_id: String.t(),
  client_secret: String.t(),
  expires_in: non_neg_integer(),
  mcp_url: String.t() | nil,
  rpc_url: String.t() | nil,
  scopes: [String.t()],
  token_url: String.t()
}