farmbot v6.0.1-alpha Farmbot.Bootstrap.Authorization behaviour View Source
Functionality responsible for getting a JWT.
Link to this section Summary
Types
Email used to configure this bot
Password used to configure this bot
Server used to configure this bot
Token that was fetched with the credentials
Functions
Authorizes with the farmbot api
Callbacks
Callback for an authorization implementation. Should return {:ok, token} | {:error, term}
Link to this section Types
Email used to configure this bot.
Password used to configure this bot.
Server used to configure this bot.
Token that was fetched with the credentials.
Link to this section Functions
Authorizes with the farmbot api.
Link to this section Callbacks
Callback for an authorization implementation. Should return {:ok, token} | {:error, term}