[feature/oauth] Add constructors

PHPBB3-11673