class OIDC::Client

Defined in:

oidc/client.cr

Constant Summary

DEFAULT_HEADERS = HTTP::Headers {"Accept" => "application/json", "User-Agent" => "oidc.cr/#{VERSION} Crystal/#{Crystal::VERSION}"}

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(url : String, client_id : String, client_secret : String, *, redirect_uri : String) #

[View source]

Class Method Detail

def self.get_wellknown(url : String) : Configuration #

[View source]

Instance Method Detail

def config : OIDC::Configuration #

[View source]
def user_info(access_token : String, *, user_info_class uic = UserInfo) #

[View source]
def user_info(access_token : OAuth2::AccessToken, *, user_info_class = UserInfo) #

[View source]