Mark auth classes as deprecated
This commit is contained in:
parent
d6787424bb
commit
9e738cc82a
|
@ -33,6 +33,7 @@ module Google
|
||||||
# drive = Drive::DriveService.new
|
# drive = Drive::DriveService.new
|
||||||
# drive.authorization = authorization
|
# drive.authorization = authorization
|
||||||
#
|
#
|
||||||
|
# @deprecated Use google-auth-library-ruby instead
|
||||||
class InstalledAppFlow
|
class InstalledAppFlow
|
||||||
|
|
||||||
RESPONSE_BODY = <<-HTML
|
RESPONSE_BODY = <<-HTML
|
||||||
|
|
|
@ -18,6 +18,7 @@ module Google
|
||||||
# Helper for loading keys from the PKCS12 files downloaded when
|
# Helper for loading keys from the PKCS12 files downloaded when
|
||||||
# setting up service accounts at the APIs Console.
|
# setting up service accounts at the APIs Console.
|
||||||
#
|
#
|
||||||
|
# @deprecated Use google-auth-library-ruby instead
|
||||||
module KeyUtils
|
module KeyUtils
|
||||||
##
|
##
|
||||||
# Loads a key from PKCS12 file, assuming a single private key
|
# Loads a key from PKCS12 file, assuming a single private key
|
||||||
|
|
|
@ -21,6 +21,7 @@ module Google
|
||||||
# JSON serialized file. Meant to resemble the serialized format
|
# JSON serialized file. Meant to resemble the serialized format
|
||||||
# http://google-api-python-client.googlecode.com/hg/docs/epy/oauth2client.file.Storage-class.html
|
# http://google-api-python-client.googlecode.com/hg/docs/epy/oauth2client.file.Storage-class.html
|
||||||
#
|
#
|
||||||
|
# @deprecated Use google-auth-library-ruby instead
|
||||||
class Storage
|
class Storage
|
||||||
|
|
||||||
AUTHORIZATION_URI = 'https://accounts.google.com/o/oauth2/auth'
|
AUTHORIZATION_URI = 'https://accounts.google.com/o/oauth2/auth'
|
||||||
|
|
|
@ -21,6 +21,7 @@ module Google
|
||||||
# JSON serialized file. Meant to resemble the serialized format
|
# JSON serialized file. Meant to resemble the serialized format
|
||||||
# http://google-api-python-client.googlecode.com/hg/docs/epy/oauth2client.file.Storage-class.html
|
# http://google-api-python-client.googlecode.com/hg/docs/epy/oauth2client.file.Storage-class.html
|
||||||
#
|
#
|
||||||
|
# @deprecated Use google-auth-library-ruby instead
|
||||||
class FileStore
|
class FileStore
|
||||||
|
|
||||||
attr_accessor :path
|
attr_accessor :path
|
||||||
|
|
|
@ -16,6 +16,7 @@ require 'json'
|
||||||
|
|
||||||
module Google
|
module Google
|
||||||
class APIClient
|
class APIClient
|
||||||
|
# @deprecated Use google-auth-library-ruby instead
|
||||||
class RedisStore
|
class RedisStore
|
||||||
|
|
||||||
DEFAULT_REDIS_CREDENTIALS_KEY = "google_api_credentials"
|
DEFAULT_REDIS_CREDENTIALS_KEY = "google_api_credentials"
|
||||||
|
|
|
@ -23,7 +23,7 @@ module Google
|
||||||
# inspired by the Google API Python client.
|
# inspired by the Google API Python client.
|
||||||
#
|
#
|
||||||
# @see https://developers.google.com/api-client-library/python/guide/aaa_client_secrets
|
# @see https://developers.google.com/api-client-library/python/guide/aaa_client_secrets
|
||||||
#
|
# @deprecated Use google-auth-library-ruby instead
|
||||||
# @example
|
# @example
|
||||||
# {
|
# {
|
||||||
# "web": {
|
# "web": {
|
||||||
|
|
Loading…
Reference in New Issue