BoundedAuthorityProtocol.V1.Uri (Bounded Authority Protocol v0.1.1)

Copy Markdown View Source

Pure bounded normalization for hierarchical HTTPS DPoP target URIs.

Summary

Functions

Normalizes one bounded hierarchical HTTPS target URI.

Functions

normalize(uri, limits)

@spec normalize(binary(), BoundedAuthorityProtocol.V1.Bounds.t() | map()) ::
  {:ok, binary()} | {:error, :invalid}

Normalizes one bounded hierarchical HTTPS target URI.