import ConfigUserProvider from "../common/ConfigUserProvider"; import { InvokeIdValidationCaseRequest } from "./IdValidationService.model"; export declare class IdValidationService { private config; private userManager; constructor(configUserProvider: ConfigUserProvider); /** * To invoke a new id validation case, call invokeIdValidationCase(). * Make sure that the access token, which is used to call this api (either as parameter or from user storage) * have the following scopes: cidaas:idval_init cidaas:idval_perform cidaas:idval_settings_read profile * * @param options payload to be sent to the api * @param access_token will either be given as function parameter or will be fetch from user storage if not given * * @example * ```js * import { IdValidationService } from 'cidaas-javascript-sdk'; * * const options = { * redirect_url: 'your redirect uri', * validation_settings_id: 'validation settings id from admin ui' * }; * * cidaasIdValidationService.invokeIdValidationCase(options); * ``` */ invokeIdValidationCase(options: InvokeIdValidationCaseRequest, access_token?: string): void; }