clients/kratos/php/lib/Api/PublicApi.php
/**
     * Operation completeSelfServiceBrowserVerificationFlowAsyncWithHttpInfo
     *
     * Complete the browser-based verification flows
     *
     * @param  string $request Request is the Request ID  The value for this parameter comes from &#x60;request&#x60; URL Query parameter sent to your application (e.g. &#x60;/verify?request&#x3D;abcde&#x60;). (required)
     * @param  string $via What to verify  Currently only \&quot;email\&quot; is supported. (required)
     *
     * @throws \InvalidArgumentException
     * @return \GuzzleHttp\Promise\PromiseInterface
     */
Operation completeSelfServiceBrowserVerificationFlowAsyncWithHttpInfo
Complete the browser-based verification flows

@param  string $request Request is the Request ID  The value for this parameter comes from `request` URL Query parameter sent to your application . (required)
@param  string $via What to verify  Currently only \"email\" is supported. (required)


Operation completeSelfServiceBrowserVerificationFlowAsyncWithHttpInfo Complete the browser - based verification flows @param string $request Request is the Request ID The value for this parameter comes from ` request ` URL Query parameter sent to your application . ( required ) @param string $via What to verify Currently only \ " email \ " is supported . ( required )
public function completeSelfServiceBrowserVerificationFlowAsyncWithHttpInfo($request, $via)
    {
        $returnType = '';
        $request = $this->completeSelfServiceBrowserVerificationFlowRequest($request, $via);
        return $this->client
            ->sendAsync($request, $this->createHttpClientOption())
            ->then(
                function ($response) use ($returnType) {
                    return [null, $response->getStatusCode(), $response->getHeaders()];
                },
                function ($exception) {
                    $response = $exception->getResponse();
                    $statusCode = $response->getStatusCode();
                    throw new ApiException(
                        sprintf(
                            '[%d] Error connecting to the API (%s)',
                            $statusCode,
                            $exception->getRequest()->getUri()
                        ),
                        $statusCode,
                        $response->getHeaders(),
                        $response->getBody()
                    );
                }
            );
    }
public function completeSelfServiceBrowserVerificationFlowAsyncWithHttpInfo ( $ request , $ via ) { $ returnType = '' ; $ request = $ this -> completeSelfServiceBrowserVerificationFlowRequest ( $ request , $ via ) ; return $ this -> client -> sendAsync ( $ request , $ this -> createHttpClientOption ( ) ) -> then ( function ( $ response ) use ( $ returnType ) { return [ null , $ response -> getStatusCode ( ) , $ response -> getHeaders ( ) ] ; } , function ( $ exception ) { $ response = $ exception -> getResponse ( ) ; $ statusCode = $ response -> getStatusCode ( ) ; throw new ApiException ( sprintf ( '[%d] Error connecting to the API (%s)' , $ statusCode , $ exception -> getRequest ( ) -> getUri ( ) ) , $ statusCode , $ response -> getHeaders ( ) , $ response -> getBody ( ) ) ; } ) ; }
Operation completeSelfServiceBrowserVerificationFlowAsyncWithHttpInfo
 Complete the browser-based verification flows
Operation completeSelfServiceBrowserVerificationFlowAsyncWithHttpInfo Complete the browser - based verification flows