編輯

共用方式為


RefreshAuthenticationParameters interface

Specify the properties for refreshing the endpoint authentication object being queried

Properties

endpointId

EndpointId which needs new authentication params

scope

Scope of the token requested. For GitHub marketplace apps, scope contains repository Ids

tokenValidityInMinutes

The requested endpoint authentication should be valid for _ minutes. Authentication params will not be refreshed if the token contained in endpoint already has active token.

Property Details

endpointId

EndpointId which needs new authentication params

endpointId: string

Property Value

string

scope

Scope of the token requested. For GitHub marketplace apps, scope contains repository Ids

scope: number[]

Property Value

number[]

tokenValidityInMinutes

The requested endpoint authentication should be valid for _ minutes. Authentication params will not be refreshed if the token contained in endpoint already has active token.

tokenValidityInMinutes: number

Property Value

number