application_auth v0.1.0 ApplicationAuth.Accounts.ApplicationCredential

Link to this section Summary

Link to this section Functions

Link to this function

allowed_hosts_to_enum(credential)

Converts the allowed hosts string to list

Link to this function

changeset(application_credentials, attrs \\ %{})

Link to this function

is_allowed_host?(allowed_hosts, host_to_find)

is_allowed_host?(Enum.t(), String.t()) :: Boolean.t()

Check if a host is in allowed hosts

Link to this function

registration_changeset(application_credentials, attrs \\ %{})