RefreshAuthenticationParameters interface
指定要刷新正在查询的终结点身份验证对象的属性
属性
| endpoint |
需要新身份验证参数的 EndpointId |
| scope | 请求的令牌的范围。 对于 GitHub 市场应用,范围包含存储库 ID |
| token |
请求的终结点身份验证应有效期为 _ 分钟。 如果终结点中包含的令牌已具有活动令牌,则不会刷新身份验证参数。 |
属性详细信息
endpointId
需要新身份验证参数的 EndpointId
endpointId: string
属性值
string
scope
请求的令牌的范围。 对于 GitHub 市场应用,范围包含存储库 ID
scope: number[]
属性值
number[]
tokenValidityInMinutes
请求的终结点身份验证应有效期为 _ 分钟。 如果终结点中包含的令牌已具有活动令牌,则不会刷新身份验证参数。
tokenValidityInMinutes: number
属性值
number