mirror of
https://github.com/gitpod-io/gitpod.git
synced 2025-12-08 17:36:30 +00:00
* Implement user account verification with LinkedIn during onboarding * updating connect with linked-in banner * removing unused imports * Store token, fix binding * Refactor LinkedInToken to LinkedInProfile * Actually write the LinkedIn secret to the server config * Fetch LinkedIn user profile and email address * Add creationTime column to d_b_linked_in_profile * Add more debug logging * Fix LinkedIn API calls, mount LinkedInProfileDB * Also bind LinkedInProfileDB * Add LinkedIn scope r_liteprofile * Enhance LinkedIn profile retrieval, store the profile, ensure uniqueness * Align with UX spec and complete onboarding flow * Prevent the LinkedIn button from auto-submitting the onboarding form * Address nits (LinkedInService to /src and minor spacing) --------- Co-authored-by: Brad Harris <bmharris@gmail.com>
13 lines
434 B
TypeScript
13 lines
434 B
TypeScript
/**
|
|
* Copyright (c) 2023 Gitpod GmbH. All rights reserved.
|
|
* Licensed under the GNU Affero General Public License (AGPL).
|
|
* See License.AGPL.txt in the project root for license information.
|
|
*/
|
|
|
|
import { LinkedInProfile } from "@gitpod/gitpod-protocol";
|
|
|
|
export const LinkedInProfileDB = Symbol("LinkedInProfileDB");
|
|
export interface LinkedInProfileDB {
|
|
storeProfile(userId: string, profile: LinkedInProfile): Promise<void>;
|
|
}
|