JMediawikiPages::getToken

Method to get access token.