Class: Google::Apis::CesV1::LfA2aV1ImplicitOAuthFlow
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::LfA2aV1ImplicitOAuthFlow
- 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
-
#authorization_url ⇒ String
The authorization URL to be used for this flow.
-
#refresh_url ⇒ String
The URL to be used for obtaining refresh tokens.
-
#scopes ⇒ Hash<String,String>
The available scopes for the OAuth2 security scheme.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LfA2aV1ImplicitOAuthFlow
constructor
A new instance of LfA2aV1ImplicitOAuthFlow.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LfA2aV1ImplicitOAuthFlow
Returns a new instance of LfA2aV1ImplicitOAuthFlow.
5039 5040 5041 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5039 def initialize(**args) update!(**args) end |
Instance Attribute Details
#authorization_url ⇒ String
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
5025 5026 5027 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5025 def @authorization_url end |
#refresh_url ⇒ String
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
5031 5032 5033 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5031 def refresh_url @refresh_url end |
#scopes ⇒ Hash<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
5037 5038 5039 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5037 def scopes @scopes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5044 5045 5046 5047 5048 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5044 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 |