Liking cljdoc? Tell your friends :D

metabase.util.embed

Utility functions for public links and embedding.

Utility functions for public links and embedding.
raw docstring

get-in-unsigned-token-or-throwclj

(get-in-unsigned-token-or-throw unsigned-token keyseq)

Find KEYSEQ in the UNSIGNED-TOKEN (a JWT token decoded by unsign) or throw a 400.

Find KEYSEQ in the UNSIGNED-TOKEN (a JWT token decoded by `unsign`) or throw a 400.
sourceraw docstring

(head url)

Returns the <meta>/<link> tags for an embeddable public page.

Returns the `<meta>`/`<link>` tags for an embeddable public page.
sourceraw docstring

iframeclj

(iframe url width height)

Return an <iframe> HTML fragment to embed a public page.

Return an `<iframe>` HTML fragment to embed a public page.
sourceraw docstring

unsignclj

(unsign message)

Parse a "signed" (base-64 encoded) JWT and return a Clojure representation. Check that the signature is valid (i.e., check that it was signed with embedding-secret-key) and it's otherwise a valid JWT (e.g., not expired), or throw an Exception.

Parse a "signed" (base-64 encoded) JWT and return a Clojure representation. Check that the signature is
valid (i.e., check that it was signed with `embedding-secret-key`) and it's otherwise a valid JWT (e.g., not
expired), or throw an Exception.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close