Class: Google::Apis::CesV1::LfA2aV1ImplicitOAuthFlow

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/ces_v1/classes.rb,
lib/google/apis/ces_v1/representations.rb,
lib/google/apis/ces_v1/representations.rb

Overview

Deprecated: Use Authorization Code + PKCE instead.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LfA2aV1ImplicitOAuthFlow

Returns a new instance of LfA2aV1ImplicitOAuthFlow.



4997
4998
4999
# File 'lib/google/apis/ces_v1/classes.rb', line 4997

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#authorization_urlString

The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS Corresponds to the JSON property authorizationUrl

Returns:

  • (String)


4983
4984
4985
# File 'lib/google/apis/ces_v1/classes.rb', line 4983

def authorization_url
  @authorization_url
end

#refresh_urlString

The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. Corresponds to the JSON property refreshUrl

Returns:

  • (String)


4989
4990
4991
# File 'lib/google/apis/ces_v1/classes.rb', line 4989

def refresh_url
  @refresh_url
end

#scopesHash<String,String>

The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty. Corresponds to the JSON property scopes

Returns:

  • (Hash<String,String>)


4995
4996
4997
# File 'lib/google/apis/ces_v1/classes.rb', line 4995

def scopes
  @scopes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5002
5003
5004
5005
5006
# File 'lib/google/apis/ces_v1/classes.rb', line 5002

def update!(**args)
  @authorization_url = args[:authorization_url] if args.key?(:authorization_url)
  @refresh_url = args[:refresh_url] if args.key?(:refresh_url)
  @scopes = args[:scopes] if args.key?(:scopes)
end