All files / src/controllers/requestSpecs socialLogin.ts

100% Statements 3/3
100% Branches 0/0
100% Functions 0/0
100% Lines 3/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12  1x     1x         1x    
 
import { baseRequest, string, boolean, number } from "./utils"
 
//Social login Controller
export const socialLoginReq = baseRequest({
    description: "ProviderId should get from social login provider.isUser is nothing but the page they trying to login",
    required: ['provider_id', 'provider_name', 'email'],
    properties: { email: string, providerId: string, name: string, providerName: string, provider_id: string, provider_name: string, image: string, isUser: boolean }, title: 'Social Login'
})
export const linkedInReq = baseRequest({ description: "Code will get from linkedin auth in web app. isUser is nothing but the page they trying to login", properties: { code: string, isUser: boolean }, title: 'LinkedIn Login' })