nitc :: actors_injection_phase
Injects model for the classes annotated with "is actor" sonitc :: astbuilder
Instantiation and transformation of semantic nodes in the AST of expressions and statementsnitc :: commands_ini
FileServer
action, which is a standard and minimal file server
HttpRequest
class and services to create it
nitc :: i18n_phase
Basic support of internationalization through the generation of id-to-string tablesSerializable::inspect
to show more useful information
nitc :: modelbuilder
more_collections :: more_collections
Highly specific, but useful, collections-related classes.curl :: native_curl
Binding of C libCurl which allow us to interact with network.threaded
annotation
serialization :: serialization_core
Abstract services to serialize Nit objects to different formatsnitc :: serialization_model_phase
Phase generating methods (model-only) to serialize Nit objectsdeserialize_json
and JsonDeserializer
serialize_to_json
and JsonSerializer
nitc :: toolcontext
Common command-line tool infrastructure than handle options and error messagesnitc :: uml_module
Services for generation of a UML package diagram based on aModel
core :: union_find
union–find algorithm using an efficient disjoint-set data structure
module api_auth
import api_base
import popcorn::pop_auth
redef class NitwebConfig
# Github client id used for Github OAuth login.
#
# * key: `github.client_id`
# * default: ``
fun github_client_id: String do return ini["github.client.id"] or else ""
# Github client secret used for Github OAuth login.
#
# * key: `github.client_secret`
# * default: ``
fun github_client_secret: String do return ini["github.client.secret"] or else ""
end
redef class APIRouter
redef init do
super
use("/user", new GithubUser)
end
end
src/doc/api/api_auth.nit:15,1--40,3