class Croauth2

Defined in:

croauth2.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(endpoint : String, client_id : String, client_secret : String) #

[View source]

Instance Method Detail

def get(path : String, params = nil) : HTTP::Client::Response #

TODO handle params


[View source]
def get_token_from_credentials : Token #

[View source]
def token : Token #

[View source]
def token_expires_at : Int64 #

[View source]