RefreshAuthenticationParameters interface
指定要重新整理要查詢之端點驗證對象的屬性
屬性
| endpoint |
需要新驗證參數的 EndpointId |
| scope | 要求的令牌範圍。 針對 GitHub Marketplace 應用程式,範圍包含存放庫標識碼 |
| token |
要求的端點驗證應該對 _ 分鐘有效。 如果端點中包含的令牌已經有作用中的令牌,則不會重新整理驗證參數。 |
屬性詳細資料
endpointId
需要新驗證參數的 EndpointId
endpointId: string
屬性值
string
scope
要求的令牌範圍。 針對 GitHub Marketplace 應用程式,範圍包含存放庫標識碼
scope: number[]
屬性值
number[]
tokenValidityInMinutes
要求的端點驗證應該對 _ 分鐘有效。 如果端點中包含的令牌已經有作用中的令牌,則不會重新整理驗證參數。
tokenValidityInMinutes: number
屬性值
number