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.
5325 5326 5327 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5325 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
5311 5312 5313 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5311 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
5317 5318 5319 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5317 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
5323 5324 5325 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5323 def token_url @token_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5330 5331 5332 5333 5334 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5330 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 |