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.



4978
4979
4980
# File 'lib/google/apis/ces_v1/classes.rb', line 4978

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)


4964
4965
4966
# File 'lib/google/apis/ces_v1/classes.rb', line 4964

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)


4970
4971
4972
# File 'lib/google/apis/ces_v1/classes.rb', line 4970

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>)


4976
4977
4978
# File 'lib/google/apis/ces_v1/classes.rb', line 4976

def scopes
  @scopes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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