pub fn from_base64_with_symbols<T, F>(
        slice: T,
        f: F,
        symbols: SymbolTable,
    ) -> Result<Self, error::Token>
    where
        F: Fn(Option<u32>) -> PublicKey,
        T: AsRef<[u8]>,
    {
        let decoded = base64::decode_config(slice, base64::URL_SAFE)?;
        Biscuit::from_with_symbols(&decoded, f, 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_base64_with_symbols<T, F>(
        slice: T,
        f: F,
        symbols: SymbolTable,
    ) -> Result<Self, error::Token>
    where
        F: Fn(Option<u32>) -> PublicKey,
        T: AsRef<[u8]>,
    {
        let decoded = base64::decode_config(slice, base64::URL_SAFE)?;
        Biscuit::from_with_symbols(&decoded, f, symbols)
    }
pub fn from_base64_with_symbols < T , F > ( slice : T , f : F , symbols : SymbolTable , ) -> Result < Self , error :: Token > where F : Fn ( Option < u32 > ) -> PublicKey , T : AsRef < [ u8 ] > , { let decoded = base64 :: decode_config ( slice , base64 :: URL_SAFE ) ? ; Biscuit :: from_with_symbols ( & decoded , f , 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
T
f
F
symbols
SymbolTable
slice
T
f
F
symbols
SymbolTable