class Authority::Authorize::CreateEndpoint

Included Modules

Defined in:

endpoints/authorize/create_endpoint.cr

Class Method Summary

Instance Method Summary

Class Method Detail

def self.connect(path : Router::Path) #

[View source]
def self.delete(path : Router::Path) #

[View source]
def self.get(path : Router::Path) #

[View source]
def self.head(path : Router::Path) #

[View source]
def self.helper_path_name #

[View source]
def self.options(path : Router::Path) #

[View source]
def self.patch(path : Router::Path) #

[View source]
def self.path(**params) #

[View source]
def self.post(path : Router::Path) #

[View source]
def self.put(path : Router::Path) #

[View source]
def self.trace(path : Router::Path) #

[View source]

Instance Method Detail

def call : Response #
Description copied from module Azu::Endpoint(Authority::Authorize::NewRequest, Azu::Response)

When we include Endpoint module, we make our object compliant with Azu Endpoints by implementing the #call, which is a method that accepts no arguments

def call : IndexPage
  IndexPage.new
end

[View source]
def current_session #

[View source]
def forward_url #

[View source]
def new_request : Request #

[View source]
def signin(redirect_url = forward_url) #

[View source]