pub fn verify_url_token(&self, token_str: &str, chap_hash: &str) -> Result<(), TokenError> {
        // convert base64 to bytes then send to other function
        let token = Self::decode_b64(token_str, true)?;
        self.verify_token(token, chap_hash)
    }
/// Helper method to call `verify_token` after decoding a base64 url-encoded byte array.
///
/// See `verify_token` for more information.
Helper method to call `verify_token` after decoding a base64 url-encoded byte array.
See `verify_token` for more information.
Helper method to call ` verify_token ` after decoding a base64 url - encoded byte array . See ` verify_token ` for more information .
pub fn verify_url_token(&self, token_str: &str, chap_hash: &str) -> Result<(), TokenError> {
        // convert base64 to bytes then send to other function
        let token = Self::decode_b64(token_str, true)?;
        self.verify_token(token, chap_hash)
    }
pub fn verify_url_token ( & self , token_str : & str , chap_hash : & str ) -> Result < ( ) , TokenError > { // convert base64 to bytes then send to other function let token = Self :: decode_b64 ( token_str , true ) ? ; self . verify_token ( token , chap_hash ) }
Helper method to call `verify_token` after decoding a base64 url-encoded byte array.
Helper method to call ` verify_token ` after decoding a base64 url - encoded byte array .
&self
token_str
&str
chap_hash
&str