struct Authority::Authorize::NewRequest

Included Modules

Defined in:

requests/authorize/new_request.cr

Constant Summary

SCHEMA_VALIDATIONS = {response_type => {message: "Param response_type must be present.", presence: true}, client_id => {message: "Param client_id must be present.", presence: true}, redirect_uri => {message: "Param redirect_uri must be present.", presence: true}, scope => {message: "Param scope must be present.", presence: true}, state => {message: "Param state must be present.", presence: true}, code_challenge => {}, code_challenge_method => {}} 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 #

[View source]
def client_id : String #

[View source]
def code_challenge : String #

[View source]
def code_challenge_method : String #

[View source]
def error_messages #

[View source]
def errors #

def redirect_uri : String #

[View source]
def response_type : String #

[View source]
def scope : String #

[View source]
def state : String #

[View source]
def valid? #

def validate! #