GitHubEnterpriseServerConfig constructor
GitHubEnterpriseServerConfig({})
Implementation
factory GitHubEnterpriseServerConfig({
$core.String? clientId,
$core.String? authorizationEndpoint,
$core.String? tokenEndpoint,
$core.String? userEndpoint,
$core.Iterable<$core.String>? scopes,
}) {
final $result = create();
if (clientId != null) {
$result.clientId = clientId;
}
if (authorizationEndpoint != null) {
$result.authorizationEndpoint = authorizationEndpoint;
}
if (tokenEndpoint != null) {
$result.tokenEndpoint = tokenEndpoint;
}
if (userEndpoint != null) {
$result.userEndpoint = userEndpoint;
}
if (scopes != null) {
$result.scopes.addAll(scopes);
}
return $result;
}