UNPKG

@hmcts/rpx-xui-node-lib

Version:

Common nodejs library components for XUI

10 lines 581 B
import { OAuth2Metadata } from './OAuth2Metadata.interface'; import OAuth2Strategy from 'passport-oauth2'; import { AxiosResponse } from 'axios'; export declare class XUIOAuth2Strategy extends OAuth2Strategy { private readonly options; constructor(options: OAuth2Metadata, verify: OAuth2Strategy.VerifyFunction); userProfile: (accessToken: string, done: (err?: Error | null, profile?: any) => void) => Promise<void>; } export declare const getUserDetails: (jwt: string, logoutUrl: string) => Promise<AxiosResponse>; //# sourceMappingURL=XUIOAuth2Strategy.class.d.ts.map