class Helpers::Auth::DeviceAuth

Included Modules

Defined in:

helpers/auth/device_auth.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(topic : String, mac : String, api_key : String) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Class Method Detail

def self.init(auth_payload) #

[View source]

Instance Method Detail

def api_key : String #

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

[View source]
def authenticated? #

[View source]
def mac : String #

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

[View source]
def topic : String #

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

[View source]