You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: jwt_decoder.rb
    path of file: ./repos/vets-api/lib/inherited_proofing
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require 'jwt'
require 'inherited_proofing/errors'

module InheritedProofing
  class JwtDecoder
    attr_reader :access_token_jwt

   
    
    def jwt_decode_access_token
      with_validation = true
      decoded_jwt = JWT.decode(
        access_token_jwt,
        public_key,
        with_validation,
        {
          verify_expiration: with_validation,
          algorithm: JWT_ENCODE_ALGORITHM
        }
      )&.first
      OpenStruct.new(decoded_jwt)
    rescue JWT::VerificationError
      raise Errors::AccessTokenSignatureMismatchError
    rescue JWT::ExpiredSignature
      raise Errors::AccessTokenExpiredError
    rescue JWT::DecodeError
      raise Errors::AccessTokenMalformedJWTError
    end