Builds RFC 8414 authorization-server metadata.
@spec build(keyword()) :: {:ok, map()} | {:error, :invalid_metadata}