This repository has been archived on 2022-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
outline/server/presenters/authenticationProvider.js

15 lines
359 B
JavaScript

// @flow
import { AuthenticationProvider } from "../models";
export default function present(
authenticationProvider: AuthenticationProvider
) {
return {
id: authenticationProvider.id,
name: authenticationProvider.name,
createdAt: authenticationProvider.createdAt,
isEnabled: authenticationProvider.enabled,
isConnected: true,
};
}