class Authority::Device::TokenEndpoint

Included Modules

Defined in:

endpoints/device/token_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 access_token #

[View source]
def call : AccessTokenResponse #
Description copied from module Azu::Endpoint(Authority::Device::TokenRequest, 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 token_request : Request #

[View source]