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.
4997 4998 4999 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4997 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
4983 4984 4985 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4983 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
4989 4990 4991 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4989 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
4995 4996 4997 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4995 def scopes @scopes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5002 5003 5004 5005 5006 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5002 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 |