[{"name":"Protobuf.Token","comment":" Decode Protobuf Web Tokens (PWT)\n\n@docs TokenData\n@docs decode, decodeBytes\n@docs Error, errorToString\n\n","unions":[{"name":"Error","comment":" The ways a token decoding can fail\n","args":[],"cases":[["InvalidFormat",[]],["InvalidBase64",[]],["InvalidBytes",[]],["NoValidUntilField",[]]]}],"aliases":[{"name":"TokenData","comment":" Claims encoded in the token and some metadata\n","args":["t"],"type":"{ validUntil : Time.Posix, claims : t }"}],"values":[{"name":"decode","comment":" Decodes a Protobuf Web Token using the given decoder.\n","type":"Protobuf.Decode.Decoder t -> String.String -> Result.Result Protobuf.Token.Error (Protobuf.Token.TokenData t)"},{"name":"decodeBytes","comment":" Decodes a Protobuf Web Token from the compact byte format using the given decoder.\n","type":"Protobuf.Decode.Decoder t -> Bytes.Bytes -> Result.Result Protobuf.Token.Error (Protobuf.Token.TokenData t)"},{"name":"errorToString","comment":" Converts an `Error` to a string representation for debugging or error reporting.\n","type":"Protobuf.Token.Error -> String.String"}],"binops":[]}]