//
// Copyright (C) 2017 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
namespace Google {
using System.Collections.Generic;
///
/// Configuration properties for Google Sign-In.
///
public class GoogleSignInConfiguration {
/// Set to true to use games signin, false for default signin.
///
/// Note: The Games configuration is not supported on non-Android
/// platforms.
/// If games configuration is used, you must also add the
/// play-services-games libraries and dependencies.
/// See the README for more details.
///
public bool UseGameSignIn = false;
/// Web client id associated with this app.
/// Required for requesting auth code or id token.
public string WebClientId = null;
/// Set to true for getting an auth code when authenticating.
///
public bool RequestAuthCode = false;
/// Set to true to request to reset the refresh token.
/// Causes re-consent.
///
public bool ForceTokenRefresh = false;
/// Request email address, requires consent.
public bool RequestEmail = false;
/// Request id token, requires consent.
public bool RequestIdToken = false;
/// Request profile information, requires consent.
public bool RequestProfile = false;
/// Hides popup UIs from games services.
/// Used with games signin to show or hide the connecting popup UI
/// and to associate an invisible view for other popups. This is
/// recommended for VR applications. This has no effect if UseGameSignIn is
/// false.
///
public bool HidePopups = false;
/// Account name to use when authenticating,
/// null indicates use default.
public string AccountName = null;
/// Additional scopes to request, requires consent.
public IEnumerable AdditionalScopes = null;
}
}