[−][src]Function paseto::v2::public::verify_paseto
pub fn verify_paseto(
token: &str,
footer: Option<&str>,
public_key: &[u8]
) -> Result<String, Error>
Verifies a "v2.public" paseto token based on a given key pair.
Returns the message if verification was successful, otherwise an Err().