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)
SourceClass methods
get_wellknown(url : String) : Configuration
SourceInstance methods
config
Sourceuser_info(access_token : String, *, user_info_class uic = UserInfo)
Sourceuser_info(access_token : OAuth2::AccessToken, *, user_info_class = UserInfo)
Source