/*
Copyright 2013 Google Inc
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.Apis.Auth.OAuth2
{
/// Google OAuth2 constants.
public static class GoogleAuthConsts
{
/// The authorization code server URL.
public const string AuthorizationUrl = "https://accounts.google.com/o/oauth2/auth";
/// The approval URL (used in the Windows solution as a callback).
public const string ApprovalUrl = "https://accounts.google.com/o/oauth2/approval";
/// The authorization token server URL.
public const string TokenUrl = "https://accounts.google.com/o/oauth2/token";
/// The Compute Engine authorization token server URL
public const string ComputeTokenUrl =
"http://metadata/computeMetadata/v1/instance/service-accounts/default/token";
/// The path to the Google revocation endpoint.
public const string RevokeTokenUrl = "https://accounts.google.com/o/oauth2/revoke";
/// Installed application redirect URI.
public const string InstalledAppRedirectUri = "urn:ietf:wg:oauth:2.0:oob";
/// Installed application localhost redirect URI.
public const string LocalhostRedirectUri = "http://localhost";
}
}