Lti_1p3.Config (Lti 1p3 v0.3.0)

Methods for accessing lti_1p3 config

Link to this section Summary

Functions

Gets the default configurations lti_1p3

Gets the environment configuration for key :lti_1p3 in app's environment

Gets the key value from the configuration. If not found, it'll fall back to the given default value which is nil if not specified.

Retrieves the http_client module from the config, or raises an exception.

Retrieves the provider module from the config, or raises an exception.

Retrieves the user schema module from the config, or raises an exception.

Link to this section Types

Specs

config() :: Keyword.t()

Link to this section Functions

Link to this function

default_config()

Specs

default_config() :: config()

Gets the default configurations lti_1p3

Specs

env_config() :: config()

Gets the environment configuration for key :lti_1p3 in app's environment

Link to this function

get(key, default \\ nil)

Gets the key value from the configuration. If not found, it'll fall back to the given default value which is nil if not specified.

Specs

http_client!() :: atom()

Retrieves the http_client module from the config, or raises an exception.

Specs

provider!() :: atom()

Retrieves the provider module from the config, or raises an exception.

Specs

user!() :: atom()

Retrieves the user schema module from the config, or raises an exception.