# sig/rack/protection/authenticity_token.rbs class Rack::Protection::AuthenticityToken < Rack::Protection::Base def accepts?: () -> untyped def compare_with_real_token: () -> untyped def decode_token: () -> untyped def encode_token: () -> untyped def mask_token: () -> untyped def masked_token?: () -> untyped def random_token: () -> untyped def real_token: () -> untyped def token: () -> untyped def token_length: () -> untyped def unmask_decoded_token: () -> untyped def unmasked_token?: () -> untyped def valid_token?: () -> untyped def xor_byte_strings: () -> untyped end # sig/rack/protection/base.rbs class Rack::Protection::Base def self.default_options: () -> untyped def self.default_reaction: () -> untyped def accepts?: () -> untyped def call: () -> untyped def default_options: () -> untyped def deny: () -> untyped def drop_session: () -> untyped def encrypt: () -> untyped def html?: () -> untyped def initialize: () -> void def instrument: () -> untyped def origin: () -> untyped def random_string: () -> untyped def react: () -> untyped def referrer: () -> untyped def report: () -> untyped def safe?: () -> untyped def secure_compare: () -> untyped def session: () -> untyped def session?: () -> untyped def warn: () -> untyped end # sig/rack/protection/escaped_params.rbs class Rack::Protection::EscapedParams < Rack::Protection::Base def call: () -> untyped def escape: () -> untyped def escape_hash: () -> untyped def escape_string: () -> untyped def handle: () -> untyped def initialize: () -> void end # sig/rack/protection/form_token.rbs class Rack::Protection::FormToken < Rack::Protection::AuthenticityToken def accepts?: () -> untyped end # sig/rack/protection/frame_options.rbs class Rack::Protection::FrameOptions < Rack::Protection::Base def call: () -> untyped def frame_options: () -> untyped end # sig/rack/protection/http_origin.rbs class Rack::Protection::HttpOrigin < Rack::Protection::Base def accepts?: () -> untyped def base_url: () -> untyped end # sig/rack/protection/ip_spoofing.rbs class Rack::Protection::IPSpoofing < Rack::Protection::Base def accepts?: () -> untyped end # sig/rack/protection/json_csrf.rbs class Rack::Protection::JsonCsrf < Rack::Protection::Base def call: () -> untyped def close_body: () -> untyped def has_vector?: () -> untyped def react_and_close: () -> untyped end # sig/rack/protection/path_traversal.rbs class Rack::Protection::PathTraversal < Rack::Protection::Base def call: () -> untyped def cleanup: () -> untyped end # sig/rack/protection/remote_referrer.rbs class Rack::Protection::RemoteReferrer < Rack::Protection::Base def accepts?: () -> untyped end # sig/rack/protection/remote_token.rbs class Rack::Protection::RemoteToken < Rack::Protection::AuthenticityToken def accepts?: () -> untyped end # sig/rack/protection/session_hijacking.rbs class Rack::Protection::SessionHijacking < Rack::Protection::Base def accepts?: () -> untyped def encrypt: () -> untyped end # sig/rack/protection/xss_header.rbs class Rack::Protection::XSSHeader < Rack::Protection::Base def call: () -> untyped end # sig/rack/protection.rbs module Rack::Protection def self.new: () -> untyped end