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.
4978 4979 4980 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4978 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
4964 4965 4966 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4964 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
4970 4971 4972 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4970 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
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 |