pub fn from_with_symbols<F>(
        slice: &[u8],
        f: F,
        symbols: SymbolTable,
    ) -> Result<Self, error::Token>
    where
        F: Fn(Option<u32>) -> PublicKey,
    {
        let container = SerializedBiscuit::from_slice(slice, f).map_err(error::Token::Format)?;

        Biscuit::from_serialized_container(container, symbols)
    }
/// deserializes a token and validates the signature using the root public key, with a custom symbol table
deserializes a token and validates the signature using the root public key, with a custom symbol table
deserializes a token and validates the signature using the root public key with a custom symbol table
pub fn from_with_symbols<F>(
        slice: &[u8],
        f: F,
        symbols: SymbolTable,
    ) -> Result<Self, error::Token>
    where
        F: Fn(Option<u32>) -> PublicKey,
    {
        let container = SerializedBiscuit::from_slice(slice, f).map_err(error::Token::Format)?;
        Biscuit::from_serialized_container(container, symbols)
    }
pub fn from_with_symbols < F > ( slice : & [ u8 ] , f : F , symbols : SymbolTable , ) -> Result < Self , error :: Token > where F : Fn ( Option < u32 > ) -> PublicKey , { let container = SerializedBiscuit :: from_slice ( slice , f ) . map_err ( error :: Token :: Format ) ? ; Biscuit :: from_serialized_container ( container , symbols ) }
deserializes a token and validates the signature using the root public key, with a custom symbol table
deserializes a token and validates the signature using the root public key with a custom symbol table
slice
&[u8]
f
F
symbols
SymbolTable
slice
&[u8]
f
F
symbols
SymbolTable