public function validateConfig(array $config)
	{
		$required = [
			'model',
			'token_key',
		];

		foreach ($required as $require_key) {
			if (! isset($config[$require_key])) {
				throw new \LogicException("User Provider config is missing the $require_key configuration.");
			}
		}
	}
public function validateConfig(array $config)
	{
		$required = [
			'model',
			'token_key',
		];

		foreach ($required as $require_key) {
			if (! isset($config[$require_key])) {
				throw new \LogicException("User Provider config is missing the $require_key configuration.");
			}
		}
	}
public function validateConfig ( array $ config ) { $ required = [ 'model' , 'token_key' , ] ; foreach ( $ required as $ require_key ) { if ( ! isset ( $ config [ $ require_key ] ) ) { throw new \ LogicException ( "User Provider config is missing the $require_key configuration." ) ; } } }
Validate configuration options

@param array $config
Validate configuration options