<?xml version="1.0" encoding="utf-8"?>
<extension version="2.5" type="plugin" method="upgrade" group="slogin_auth">
	<name>Social Login Github auth</name>
	<author>Eri</author>
	<creationDate>2015</creationDate>
	<copyright> </copyright>
	<license>GNU/GPL v.3 or later.</license>
	<authorEmail></authorEmail>
	<authorUrl></authorUrl>
	<version>1.0</version>
	<description>GitHub auth</description>
	<files>
		<filename plugin="github">github.php</filename>
		<filename>index.html</filename>
		<folder>assets</folder>
		<folder>element</folder>
	</files>
    <config>
      
        <fields name="params">
            <fieldset name="basic" addfieldpath="plugins/slogin_auth/github/element">
                <field name="app_id" type="text" default=""
                       description="Application ID"
                       label="Application ID"
                        />
                  <field name="secret" type="text" default=""
                       description="Consumer Secret"
                       label="Consumer Secret"
                        />
                  <field name="authorizeUrl" type="text" default="https://github.com/login/oauth/authorize"
                       description="Authorization Url "
                       label="Authorization Url"
                        />
                 <field name="tokenUrl" type="text" default="https://github.com/login/oauth/access_token"
                       description="Token Url"
                       label="Token Url"
                        />
                  <field name="apiUrl" type="text" default="https://api.github.com/"
                       description="API Url"
                       label="API Url"
                           />
                <field name="scope" type="text" default="email,user"
                       description="Scope"
                       label="Scope"
                           />
                            <field
                        name="callback_url"
                        type="callbackurl"
                        label="Callback URL"
                        description="Callback URL"
                        filter="unset"
                        value="github"
                        readonly="true"
                        class="readonly"
                        />
            </fieldset>
        </fields>
    </config>
</extension>
