class Kemal::Shield::Config

Defined in:

kemal-shield/config.cr

Constant Summary

INSTANCE = self.new

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def coep_on : Bool #

[View source]
def coep_on=(coep_on : Bool) #

[View source]
def coop : String #

[View source]
def coop=(coop : String) #

[View source]
def coop_on : Bool #

[View source]
def coop_on=(coop_on : Bool) #

[View source]
def corp : String #

[View source]
def corp=(corp : String) #

[View source]
def corp_on : Bool #

[View source]
def corp_on=(corp_on : Bool) #

[View source]
def csp_defaults : Bool #

[View source]
def csp_defaults=(csp_defaults : Bool) #

[View source]
def csp_directives : Hash(String, Array(String)) #

[View source]
def csp_directives=(csp_directives : Hash(String, Array(String))) #

[View source]
def csp_on : Bool #

[View source]
def csp_on=(csp_on : Bool) #

[View source]
def csp_report_only : Bool #

[View source]
def csp_report_only=(csp_report_only : Bool) #

[View source]
def expect_ct : Bool #

[View source]
def expect_ct=(expect_ct : Bool) #

[View source]
def expect_ct_enforce : Bool #

[View source]
def expect_ct_enforce=(expect_ct_enforce : Bool) #

[View source]
def expect_ct_max_age : Int32 #

[View source]
def expect_ct_max_age=(expect_ct_max_age : Int32) #

[View source]
def expect_ct_report_uri : String #

[View source]
def expect_ct_report_uri=(expect_ct_report_uri : String) #

[View source]
def hide_powered_by : Bool #

[View source]
def hide_powered_by=(hide_powered_by : Bool) #

[View source]
def no_sniff : Bool #

[View source]
def no_sniff=(no_sniff : Bool) #

[View source]
def oac : Bool #

[View source]
def oac=(oac : Bool) #

[View source]
def referrer_on : Bool #

[View source]
def referrer_on=(referrer_on : Bool) #

[View source]
def referrer_policy : Array(String) #

[View source]
def referrer_policy=(referrer_policy : Array(String)) #

[View source]
def sts_include_sub : Bool #

[View source]
def sts_include_sub=(sts_include_sub : Bool) #

[View source]
def sts_max_age : Int32 #

[View source]
def sts_max_age=(sts_max_age : Int32) #

[View source]
def sts_on : Bool #

[View source]
def sts_on=(sts_on : Bool) #

[View source]
def sts_preload : Bool #

[View source]
def sts_preload=(sts_preload : Bool) #

[View source]
def x_dns_prefetch_control : Bool #

[View source]
def x_dns_prefetch_control=(x_dns_prefetch_control : Bool) #

[View source]
def x_dns_prefetch_control_on : Bool #

[View source]
def x_dns_prefetch_control_on=(x_dns_prefetch_control_on : Bool) #

[View source]
def x_download_options : Bool #

[View source]
def x_download_options=(x_download_options : Bool) #

[View source]
def x_frame_options : String #

[View source]
def x_frame_options=(x_frame_options : String) #

[View source]
def x_frame_options_on : Bool #

[View source]
def x_frame_options_on=(x_frame_options_on : Bool) #

[View source]
def x_permitted_cross_domain_policies : String #

[View source]
def x_permitted_cross_domain_policies=(x_permitted_cross_domain_policies : String) #

[View source]
def x_permitted_cross_domain_policies_on : Bool #

[View source]
def x_permitted_cross_domain_policies_on=(x_permitted_cross_domain_policies_on : Bool) #

[View source]
def x_xss_protection : Bool #

[View source]
def x_xss_protection=(x_xss_protection : Bool) #

[View source]