Class: TencentCloud::Apigateway::V20180808::OauthConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apigateway::V20180808::OauthConfig
- Defined in:
- lib/v20180808/models.rb
Overview
Oauth授权配置信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(publickey = nil, tokenlocation = nil, loginredirecturl = nil) ⇒ OauthConfig
constructor
A new instance of OauthConfig.
Constructor Details
#initialize(publickey = nil, tokenlocation = nil, loginredirecturl = nil) ⇒ OauthConfig
Returns a new instance of OauthConfig.
8146 8147 8148 8149 8150 |
# File 'lib/v20180808/models.rb', line 8146 def initialize(publickey=nil, tokenlocation=nil, loginredirecturl=nil) @PublicKey = publickey @TokenLocation = tokenlocation @LoginRedirectUrl = loginredirecturl end |
Instance Attribute Details
#LoginRedirectUrl ⇒ Object
8144 8145 8146 |
# File 'lib/v20180808/models.rb', line 8144 def LoginRedirectUrl @LoginRedirectUrl end |
#PublicKey ⇒ Object
8144 8145 8146 |
# File 'lib/v20180808/models.rb', line 8144 def PublicKey @PublicKey end |
#TokenLocation ⇒ Object
8144 8145 8146 |
# File 'lib/v20180808/models.rb', line 8144 def TokenLocation @TokenLocation end |
Instance Method Details
#deserialize(params) ⇒ Object
8152 8153 8154 8155 8156 |
# File 'lib/v20180808/models.rb', line 8152 def deserialize(params) @PublicKey = params['PublicKey'] @TokenLocation = params['TokenLocation'] @LoginRedirectUrl = params['LoginRedirectUrl'] end |