View Source cfclient_config (cfclient v2.0.0)
Link to this section Summary
Functions
with Authenticate with server and merge project attributes into config
Link to this section Types
-type config() :: map().
Link to this section Functions
-spec authenticate(binary() | string() | undefined | nil, map()) ->
{ok, Config :: map()} | {error, Response :: term()}.
-spec create_tables(config()) -> ok.
-spec defaults() -> map().
-spec delete_tables(list()) -> ok.
-spec get_config() -> config().
-spec get_config(atom()) -> config().
-spec get_value(atom() | binary() | string()) -> term().
-spec get_value(atom(), map()) -> term().
-spec init(proplists:proplist()) -> ok.
-spec normalize(proplists:proplist()) -> map().
-spec parse_jwt(binary()) -> {ok, map()} | {error, Reason :: term()}.
-spec set_config(config()) -> ok.
-spec set_config(atom(), config()) -> ok.