Add "joomla/oauth2": "~3.0" to the require block in your composer.json and then run composer install.
{
	"require": {
		"joomla/oauth2": "~3.0"
	}
}Alternatively, you can simply run the following from the command line:
composer require joomla/oauth2 "~3.0"