UNPKG

alp-node-auth

Version:
16 lines 850 B
import type { Tokens } from "../authentification/types"; import type { AccountService, FullName } from "./types"; export default class UserAccountSlackService<ScopeKeys extends "login"> implements AccountService<ScopeKeys> { scopeKeyToScope: Record<ScopeKeys, string>; constructor(scopeKeyToScope: Record<Exclude<"login", ScopeKeys>, string>); providerKey: string; getProfile(tokens: Tokens): Promise<any>; getId(profile: any): string | null; getAccountName(profile: any): string | null | undefined; getEmails(profile: any): string[]; getDisplayName(profile: any): string | null | undefined; getFullName(profile: any): FullName | null; getDefaultScope(newScope: string): string[]; getScope(oldScope: string[] | undefined, newScope: string): string[]; } //# sourceMappingURL=UserAccountSlackService.d.ts.map