Wiki.Action.authenticate
You're seeing just the function
authenticate
, go back to Wiki.Action module for more information.
Specs
authenticate(Wiki.Action.Session.t(), String.t(), String.t()) :: Wiki.Action.Session.t()
Make requests to authenticate a client session. This should only be done using a bot username and password, which can be created for any normal user account.
Arguments
session
- Base session pointing to a wiki.username
- Bot username, may be different than the final logged-in username.password
- Bot password. Protect this string, it allows others to take on-wiki actions on your behalf.
Return value
Authenticated session object.