struct Authority::AccessToken::CreateRequest

Included Modules

Defined in:

requests/access_token_create_request.cr

Constant Summary

SCHEMA_VALIDATIONS = {grant_type => {message: "Param grant_type must be present.", presence: true}, username => {presence: false}, password => {presence: false}, code_verifier => {presence: false}} 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 code : String #

[View source]
def code_verifier : String #

[View source]
def error_messages #

[View source]
def errors #

def grant_type : String #

[View source]
def password : String #

[View source]
def redirect_uri : String #

[View source]
def refresh_token : String #

[View source]
def username : String #

[View source]
def valid? #

def validate! #