﻿namespace Stove.StoveSDK
{
    using System.Collections.Generic;

    /**
     * Google Provider by the Stove.
     * @since 2.0.0
     */
    public class GoogleProvider : Provider
    {
        /**
         * Google Provider's domain
         * @since 2.0.0
         */
        public const string Domain = "com.stove.auth.google";

        /**
         * Google configuration error.
         * @since 2.0.0
         */
        public const int GoogleConfigError = 30301;

        /**
         * Google server error.
         * @since 2.0.0
         */
        public const int GoogleServerError = 30302;

        public string ClassName
        {
            get
            {
#if UNITY_ANDROID
            return "com.stove.auth.google.GoogleProvider";
#elif UNITY_IOS
            return "SGSGoogleProvider";
#else
                return "";
#endif
            }
        }

        public Dictionary<string, string> User { get; set; }
    }
}
