class Cisco::Meraki::CaptivePortal

Defined in:

cisco/meraki/captive_portal.cr

Constant Summary

EMPTY_HEADERS = {} of String => String
JSON_HEADERS = {"Content-Type" => "application/json"}

Class Method Summary

Instance Method Summary

Class Method Detail

def self.driver_interface : String #

Instance Method Detail

def challenge(method : String, headers : Hash(String, Array(String)), body : String) #

Webhook for providing guest access


[View source]
def generate_guest_data(email : String, time : Int64, time_zone : String | Nil = nil) #

[View source]
def generate_guest_token(email : String, time : Int64, time_zone : String | Nil = nil) #

Splits the SHA256 into code length and then randomly selects one


[View source]

[View source]
def lookup(mac : String) #

[View source]
def on_load #

[View source]
def on_update #

[View source]