@argodigital/qq-shared
Version:
Shared code for QQ projects
15 lines (14 loc) • 554 B
TypeScript
export declare class AuthService {
private oktaOAuth2BaseUrl?;
constructor(oktaOAuth2BaseUrl?: string);
getToken({ scope, clientIdParamName, clientSecretParamName }: IAuthParams): Promise<string>;
getAuth({ scope, clientIdParamName, clientSecretParamName }: IAuthParams): Promise<string>;
createAuth(clientIdParamName?: string, clientSecretParamName?: string): Promise<any>;
private getOAuthParameters;
}
interface IAuthParams {
scope?: string;
clientIdParamName?: string;
clientSecretParamName?: string;
}
export {};