# sig/rack/protection/authenticity_token.rbs class Rack::Protection::AuthenticityToken < Rack::Protection::Base def self.random_token: () -> untyped def self.token: () -> untyped def accepts?: () -> untyped def compare_with_global_token: () -> untyped def compare_with_per_form_token: () -> untyped def compare_with_real_token: () -> untyped def decode_token: () -> untyped def encode_token: () -> untyped def global_token: () -> untyped def mask_authenticity_token: () -> untyped def mask_token: () -> untyped def masked_token?: () -> untyped def per_form_token: () -> untyped def real_token: () -> untyped def set_token: () -> untyped def token_hmac: () -> untyped def unmask_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/content_security_policy.rbs class Rack::Protection::ContentSecurityPolicy < Rack::Protection::Base def call: () -> untyped def csp_policy: () -> untyped end # sig/rack/protection/cookie_tossing.rbs class Rack::Protection::CookieTossing < Rack::Protection::Base def accepts?: () -> untyped def bad_cookies: () -> untyped def call: () -> untyped def cookie_paths: () -> untyped def empty_cookie: () -> untyped def redirect: () -> untyped def remove_bad_cookies: () -> untyped def session_key: () -> untyped end # sig/rack/protection/encrypted_cookie.rbs class Rack::Protection::EncryptedCookie < Rack::Protection::Rack::Session::Abstract::Persisted def delete_session: () -> untyped def digest_match?: () -> untyped def extract_session_id: () -> untyped def find_session: () -> untyped def generate_hmac: () -> untyped def initialize: () -> void def persistent_session_id!: () -> untyped def secure?: () -> untyped def unpacked_cookie_data: () -> untyped def write_session: () -> untyped end # sig/rack/protection/encrypted_cookie.rbs class Rack::Protection::EncryptedCookie::Base64 def decode: () -> untyped def encode: () -> untyped end # sig/rack/protection/encrypted_cookie.rbs class Rack::Protection::EncryptedCookie::Base64::JSON < Rack::Protection::EncryptedCookie::Base64::Base64 def decode: () -> untyped def encode: () -> untyped end # sig/rack/protection/encrypted_cookie.rbs class Rack::Protection::EncryptedCookie::Base64::Marshal < Rack::Protection::EncryptedCookie::Base64::Base64 def decode: () -> untyped def encode: () -> untyped end # sig/rack/protection/encrypted_cookie.rbs class Rack::Protection::EncryptedCookie::Base64::ZipJSON < Rack::Protection::EncryptedCookie::Base64::Base64 def decode: () -> untyped def encode: () -> untyped end # sig/rack/protection/encrypted_cookie.rbs class Rack::Protection::EncryptedCookie::Identity def decode: () -> untyped def encode: () -> untyped end # sig/rack/protection/encrypted_cookie.rbs class Rack::Protection::EncryptedCookie::Marshal def decode: () -> untyped def encode: () -> 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/referrer_policy.rbs class Rack::Protection::ReferrerPolicy < Rack::Protection::Base def call: () -> 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 encode: () -> untyped end # sig/rack/protection/strict_transport.rbs class Rack::Protection::StrictTransport < Rack::Protection::Base def call: () -> untyped def strict_transport: () -> 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 # sig/rack/protection/encryptor.rbs module Rack::Protection::Encryptor def self.base64_decode: () -> untyped def self.base64_encode: () -> untyped def self.decrypt_message: () -> untyped def self.encrypt_message: () -> untyped end