/** The GitHub repository protected resource for the given endpoints. */
export function gitHubRepoResource(endpoints: IGitHubEndpoints): ProtectedResourceMetadata {
resource: `${endpoints.apiBaseUri}/repos`,
resource_name: 'GitHub Repository',
authorization_servers: [endpoints.oauthServer],
scopes_supported: ['repo'],
required: false,
};
}