Pleroma v1.1.9-10-g42f76306+dev Pleroma.Web.ActivityPub.MRF behaviour View Source

Link to this section Summary

Link to this section Functions

Link to this function

filter(policies, object)

View Source
Link to this function

subdomain_match?(domains, host)

View Source
subdomain_match?([Regex.t()], String.t()) :: boolean()
Link to this function

subdomains_regex(domains)

View Source
subdomains_regex([String.t()]) :: [Regex.t()]

Link to this section Callbacks

Link to this callback

describe()

View Source
describe() :: {:ok | :error, Map.t()}
Link to this callback

filter(arg1)

View Source
filter(Map.t()) :: {:ok | :reject, Map.t()}