25 lines
561 B
JavaScript
25 lines
561 B
JavaScript
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = Zoom;
|
|
function Zoom(options) {
|
|
return {
|
|
id: "zoom",
|
|
name: "Zoom",
|
|
type: "oauth",
|
|
authorization: "https://zoom.us/oauth/authorize?scope",
|
|
token: "https://zoom.us/oauth/token",
|
|
userinfo: "https://api.zoom.us/v2/users/me",
|
|
profile(profile) {
|
|
return {
|
|
id: profile.id,
|
|
name: `${profile.first_name} ${profile.last_name}`,
|
|
email: profile.email,
|
|
image: profile.pic_url
|
|
};
|
|
},
|
|
options
|
|
};
|
|
} |