struct Authority::Device::CodeRequest

Included Modules

Defined in:

requests/device/code_request.cr

Constant Summary

SCHEMA_VALIDATIONS = {client_id => {message: "Param client_id must be present.", presence: true}} of Nil => Nil
SCHEMA_VALIDATORS = [] of Nil

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(http_params, path : Array(String) = [] of String) #

Class Method Detail

def self.from_urlencoded(string) #

Instance Method Detail

def client_id : String #

[View source]
def error_messages #

[View source]
def errors #

def valid? #

def valid_client? #

[View source]
def validate! #