UNPKG

@seas-computing/nestjs-harvard-key

Version:

This repository provides a way to connect NestJS applications to HarvardKey and provide a rudimentary form of authorization (in the form of route guards) out of the box

6 lines (5 loc) 203 B
import { HarvardEduPerson } from './types/harvardEduPerson'; import { Request } from 'express'; export declare class UserController { getCurrentUser(session: Request['session']): HarvardEduPerson; }