class Authority::AccessToken::CreateEndpoint

Included Modules

Defined in:

endpoints/access_token/create_endpoint.cr

Constant Summary

AUTH = "Authorization"
BASIC = "Basic"

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 : AccessTokenResponse #
Description copied from module Azu::Endpoint(Authority::AccessToken::CreateRequest, Authority::AccessTokenResponse)

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 create_request : Request #

[View source]