Class: Google::Apis::CesV1::LfA2aV1PasswordOAuthFlow
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::LfA2aV1PasswordOAuthFlow
- 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 or Device Code.
Instance Attribute Summary collapse
-
#refresh_url ⇒ String
The URL to be used for obtaining refresh tokens.
-
#scopes ⇒ Hash<String,String>
The available scopes for the OAuth2 security scheme.
-
#token_url ⇒ String
The token URL to be used for this flow.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LfA2aV1PasswordOAuthFlow
constructor
A new instance of LfA2aV1PasswordOAuthFlow.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LfA2aV1PasswordOAuthFlow
Returns a new instance of LfA2aV1PasswordOAuthFlow.
5264 5265 5266 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5264 def initialize(**args) update!(**args) end |
Instance Attribute Details
#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
5250 5251 5252 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5250 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
5256 5257 5258 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5256 def scopes @scopes end |
#token_url ⇒ String
The token 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 tokenUrl
5262 5263 5264 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5262 def token_url @token_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5269 5270 5271 5272 5273 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5269 def update!(**args) @refresh_url = args[:refresh_url] if args.key?(:refresh_url) @scopes = args[:scopes] if args.key?(:scopes) @token_url = args[:token_url] if args.key?(:token_url) end |