parse_extension_args (OpenID::PAPE::Response)

    # File lib/openid/extensions/pape.rb, line 117
          def parse_extension_args(args, strict=false)
            policies_str = args['auth_policies']
            if policies_str and policies_str != 'none'
              @auth_policies = policies_str.split(' ')
            end

            nist_level_str = args['nist_auth_level']
            if nist_level_str
              # special handling of zero to handle to_i behavior
              if nist_level_str.strip == '0'
                nist_level = 0
              else
                nist_level = nist_level_str.to_i
                # if it's zero here we have a bad value
                if nist_level == 0
                  nist_level = nil
                end
              end
              if nist_level and nist_level >= 0 and nist_level < 5
                @nist_auth_level = nist_level
              elsif strict
                raise ArgumentError, "nist_auth_level must be an integer 0 through 4, not #{nist_level_str.inspect}"
              end
            end

            auth_time_str = args['auth_time']
            if auth_time_str
              # validate time string
              if auth_time_str =~ TIME_VALIDATOR
                @auth_time = auth_time_str
              elsif strict
                raise ArgumentError, "auth_time must be in RFC3339 format"
              end
            end
          end