Class: TencentCloud::Apigateway::V20180808::OauthConfig

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180808/models.rb

Overview

Oauth授权配置信息

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#LoginRedirectUrlObject

Parameters:

  • PublicKey:

    公钥,用于验证用户token。

  • TokenLocation:

    token传递位置。

  • LoginRedirectUrl:

    重定向地址,用于引导用户登录操作。



8144
8145
8146
# File 'lib/v20180808/models.rb', line 8144

def LoginRedirectUrl
  @LoginRedirectUrl
end

#PublicKeyObject

Parameters:

  • PublicKey:

    公钥,用于验证用户token。

  • TokenLocation:

    token传递位置。

  • LoginRedirectUrl:

    重定向地址,用于引导用户登录操作。



8144
8145
8146
# File 'lib/v20180808/models.rb', line 8144

def PublicKey
  @PublicKey
end

#TokenLocationObject

Parameters:

  • PublicKey:

    公钥,用于验证用户token。

  • TokenLocation:

    token传递位置。

  • LoginRedirectUrl:

    重定向地址,用于引导用户登录操作。



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