struct Packlink::Auth

Defined in:

packlink/auth.cr

Class Method Summary

Instance methods inherited from struct Packlink::Base

initialize initialize

Constructor methods inherited from struct Packlink::Base

new new

Class Method Detail

def self.create(body : NamedTuple | Hash = A::HS2.new, params : NamedTuple | Hash = A::HS2.new, query : NamedTuple | Hash = A::HS2.new, headers : NamedTuple | Hash = A::HS2.new, client : Client = Client.instance) #

[View source]
def self.encoded_auth_header(email : String, password : String) #

[View source]
def self.find(params : NamedTuple | Hash = A::HS2.new, query : NamedTuple | Hash = A::HS2.new, headers : NamedTuple | Hash = A::HS2.new, client : Client = Client.instance) #

[View source]
def self.generate(credentials : NamedTuple | Hash) #

[View source]
def self.reset_password(details : NamedTuple | Hash) #

[View source]