class

OIDC::Client

Inherits OAuth2::Client < Reference < Object

Constants

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

Constructors

new(url : String, client_id : String, client_secret : String, *, redirect_uri : String)
Source

Class methods

get_wellknown(url : String) : Configuration
Source

Instance methods

config
Source
user_info(access_token : String, *, user_info_class uic = UserInfo)
Source
user_info(access_token : OAuth2::AccessToken, *, user_info_class = UserInfo)
Source