Constructors

Methods

  • 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

    Parameters

    • options: InvokeIdValidationCaseRequest

      payload to be sent to the api

    • Optionalaccess_token: string

      will either be given as function parameter or will be fetch from user storage if not given

    Returns void

    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);