/* 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. /// Canonical source for these URLs is: https://accounts.google.com/.well-known/openid-configuration /// public static class GoogleAuthConsts { /// The authorization code server URL. public const string AuthorizationUrl = "https://accounts.google.com/o/oauth2/auth"; /// The OpenID Connect authorization code server URL. /// /// Use of this is not 100% compatible with using /// , so they are two distinct URLs. /// Internally within this library only this more up-to-date is used. /// public const string OidcAuthorizationUrl = "https://accounts.google.com/o/oauth2/v2/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 OpenID Connect authorization token server URL. /// /// Use of this is not 100% compatible with using /// , so they are two distinct URLs. /// Internally within this library only this more up-to-date is used. /// public const string OidcTokenUrl = "https://www.googleapis.com/oauth2/v4/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"; /// The OpenID Connect Json Web Key Set (jwks) URL. public const string JsonWebKeySetUrl = "https://www.googleapis.com/oauth2/v3/certs"; /// 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"; } }