returnEmailVerification{},fmt.Errorf("callback URL not parseable: %v",cb)
returnEmailVerification{},fmt.Errorf("callback URL not parseable: %v",cb)
}
}
returnEmailVerification{claims},nil
returnEmailVerification{tokenClaims.Claims},nil
}
// ParseAndVerifyEmailVerificationToken parses a string into a an EmailVerification, verifies the signature, and ensures that required claims are present.
// In addition to the usual claims required by the OIDC spec, "aud" and "sub" must be present as well as ClaimEmailVerificationCallback and ClaimEmailVerificationEmail.
// ParseAndVerifyPasswordResetToken parses a string into a an PasswordReset, verifies the signature, and ensures that required claims are present.
// In addition to the usual claims required by the OIDC spec, "aud" and "sub" must be present as well as ClaimPasswordResetCallback, ClaimPasswordResetEmail and ClaimPasswordResetPassword.