Function telescope::web::csrf::verify[][src]

pub fn verify(
    idp_name: &'static str,
    req: &HttpRequest,
    token: CsrfToken
) -> Result<(), TelescopeError>
Expand description

Verify a CSRF token returned from an Identity provider. If there is an issue return a TelescopeError.