Upstream v1.5.7 Upstream.B2.Account View Source

Authorizes the b2 account and start agent so we can access the data without making another authorize_account call.

Link to this section Summary

Functions

Returns the %Authorization{} data struct that will allow you to retrieve the data required

Returns a specification to start this module under a supervisor

Link to this section Functions

Link to this function authorization() View Source
authorization() :: %Upstream.B2.Account.Authorization{
  absolute_minimum_part_size: term(),
  account_id: term(),
  api_url: term(),
  authorization_token: term(),
  download_url: term(),
  recommended_part_size: term()
}

Returns the %Authorization{} data struct that will allow you to retrieve the data required.

Returns a specification to start this module under a supervisor.

See Supervisor.