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

8 lines (7 loc) 256 B
import { StrategyOptions } from 'passport-openidconnect'; export interface HarvardKeyModuleOptions { oidcCredentials?: Pick<StrategyOptions, 'clientID' | 'clientSecret'>; oidcBaseURL: string; serverBaseURL: string; clientBaseURL: string; }