@nestjs-mod/sso
Version:
NestJS SDK for Single Sign-On on NestJS and Angular with webhooks and social authorization (Wrapper for https://www.npmjs.com/package/@nestjs-mod/sso-rest-sdk)
8 lines (7 loc) • 450 B
TypeScript
import { SsoUserDto } from '@nestjs-mod/sso-rest-sdk';
import { ExecutionContext } from '@nestjs/common';
import { CheckAccessOptions } from './sso.types';
export declare const defaultSsoCheckAccessValidator: (ssoUser?: SsoUserDto, options?: CheckAccessOptions) => Promise<boolean>;
export declare class SsoConfiguration {
checkAccessValidator?: (ssoUser?: SsoUserDto, options?: CheckAccessOptions, ctx?: ExecutionContext) => Promise<boolean>;
}