<?php
/**
 * JobClass - Job Board Web Application
 * Copyright (c) BedigitCom. All Rights Reserved
 *
 * Website: https://bedigit.com
 *
 * LICENSE
 * -------
 * This software is furnished under a license and may be used and copied
 * only in accordance with the terms of such license and with the inclusion
 * of the above copyright notice. If you Purchased from CodeCanyon,
 * Please read the full License from here - http://codecanyon.net/licenses/standard
 */

namespace App\Models\Setting;

class SocialAuthSetting
{
	public static function getValues($value, $disk)
	{
		return $value;
	}
	
	public static function setValues($value, $setting)
	{
		return $value;
	}
	
	public static function getFields($diskName)
	{
		$fields = [
			[
				'name'  => 'social_login_activation',
				'label' => trans('admin.social_login_activation_label'),
				'type'  => 'checkbox',
				'hint'  => trans('admin.social_login_activation_hint'),
			],
			[
				'name'  => 'facebook_sep',
				'type'  => 'custom_html',
				'value' => trans('admin.facebook_sep_value'),
			],
			[
				'name'  => 'facebook_sep_1',
				'type'  => 'custom_html',
				'value' => trans('admin.facebook_sep_1_value'),
			],
			[
				'name'              => 'facebook_client_id',
				'label'             => trans('admin.facebook_client_id_label'),
				'type'              => 'text',
				'wrapperAttributes' => [
					'class' => 'form-group col-md-6',
				],
			],
			[
				'name'              => 'facebook_client_secret',
				'label'             => trans('admin.facebook_client_secret_label'),
				'type'              => 'text',
				'wrapperAttributes' => [
					'class' => 'form-group col-md-6',
				],
			],
			[
				'name'  => 'linkedin_sep',
				'type'  => 'custom_html',
				'value' => trans('admin.linkedin_sep_value'),
			],
			[
				'name'  => 'linkedin_sep_1',
				'type'  => 'custom_html',
				'value' => trans('admin.linkedin_sep_1_value'),
			],
			[
				'name'              => 'linkedin_client_id',
				'label'             => trans('admin.linkedin_client_id_label'),
				'type'              => 'text',
				'wrapperAttributes' => [
					'class' => 'form-group col-md-6',
				],
			],
			[
				'name'              => 'linkedin_client_secret',
				'label'             => trans('admin.linkedin_client_secret_label'),
				'type'              => 'text',
				'wrapperAttributes' => [
					'class' => 'form-group col-md-6',
				],
			],
			[
				'name'  => 'twitter_sep',
				'type'  => 'custom_html',
				'value' => trans('admin.twitter_sep_value'),
			],
			[
				'name'  => 'twitter_sep_1',
				'type'  => 'custom_html',
				'value' => trans('admin.twitter_sep_1_value'),
			],
			[
				'name'              => 'twitter_client_id',
				'label'             => trans('admin.twitter_client_id_label'),
				'type'              => 'text',
				'wrapperAttributes' => [
					'class' => 'form-group col-md-6',
				],
			],
			[
				'name'              => 'twitter_client_secret',
				'label'             => trans('admin.twitter_client_secret_label'),
				'type'              => 'text',
				'wrapperAttributes' => [
					'class' => 'form-group col-md-6',
				],
			],
			[
				'name'  => 'google_sep',
				'type'  => 'custom_html',
				'value' => trans('admin.google_sep_value'),
			],
			[
				'name'  => 'google_sep_1',
				'type'  => 'custom_html',
				'value' => trans('admin.google_sep_1_value'),
			],
			[
				'name'              => 'google_client_id',
				'label'             => trans('admin.google_client_id_label'),
				'type'              => 'text',
				'wrapperAttributes' => [
					'class' => 'form-group col-md-6',
				],
			],
			[
				'name'              => 'google_client_secret',
				'label'             => trans('admin.google_client_secret_label'),
				'type'              => 'text',
				'wrapperAttributes' => [
					'class' => 'form-group col-md-6',
				],
			],
		];
		
		return $fields;
	}
}
