lib/Api/PublicApi.php
/**
     * Operation completeSelfServiceBrowserSettingsOIDCSettingsFlowWithHttpInfo
     *
     * Complete the Browser-Based Settings Flow for the OpenID Connect Strategy
     *
     *
     * @throws \Ory\Kratos\Client\ApiException on non-2xx response
     * @throws \InvalidArgumentException
     * @return array of null, HTTP status code, HTTP response headers (array of strings)
     */
Operation completeSelfServiceBrowserSettingsOIDCSettingsFlowWithHttpInfo
Complete the Browser-Based Settings Flow for the OpenID Connect Strategy


Operation completeSelfServiceBrowserSettingsOIDCSettingsFlowWithHttpInfo Complete the Browser - Based Settings Flow for the OpenID Connect Strategy
public function completeSelfServiceBrowserSettingsOIDCSettingsFlowWithHttpInfo()
    {
        $request = $this->completeSelfServiceBrowserSettingsOIDCSettingsFlowRequest();
        try {
            $options = $this->createHttpClientOption();
            try {
                $response = $this->client->send($request, $options);
            } catch (RequestException $e) {
                throw new ApiException(
                    "[{$e->getCode()}] {$e->getMessage()}",
                    $e->getCode(),
                    $e->getResponse() ? $e->getResponse()->getHeaders() : null,
                    $e->getResponse() ? (string) $e->getResponse()->getBody() : null
                );
            }
            $statusCode = $response->getStatusCode();
            if ($statusCode < 200 || $statusCode > 299) {
                throw new ApiException(
                    sprintf(
                        '[%d] Error connecting to the API (%s)',
                        $statusCode,
                        $request->getUri()
                    ),
                    $statusCode,
                    $response->getHeaders(),
                    $response->getBody()
                );
            }
            return [null, $statusCode, $response->getHeaders()];
        } catch (ApiException $e) {
            switch ($e->getCode()) {
                case 500:
                    $data = ObjectSerializer::deserialize(
                        $e->getResponseBody(),
                        '\Ory\Kratos\Client\Model\GenericError',
                        $e->getResponseHeaders()
                    );
                    $e->setResponseObject($data);
                    break;
            }
            throw $e;
        }
    }
public function completeSelfServiceBrowserSettingsOIDCSettingsFlowWithHttpInfo ( ) { $ request = $ this -> completeSelfServiceBrowserSettingsOIDCSettingsFlowRequest ( ) ; try { $ options = $ this -> createHttpClientOption ( ) ; try { $ response = $ this -> client -> send ( $ request , $ options ) ; } catch ( RequestException $ e ) { throw new ApiException ( " [ { $ e -> getCode ( ) } ]  { $ e -> getMessage ( ) } " , $ e -> getCode ( ) , $ e -> getResponse ( ) ? $ e -> getResponse ( ) -> getHeaders ( ) : null , $ e -> getResponse ( ) ? ( string ) $ e -> getResponse ( ) -> getBody ( ) : null ) ; } $ statusCode = $ response -> getStatusCode ( ) ; if ( $ statusCode < 200 || $ statusCode > 299 ) { throw new ApiException ( sprintf ( '[%d] Error connecting to the API (%s)' , $ statusCode , $ request -> getUri ( ) ) , $ statusCode , $ response -> getHeaders ( ) , $ response -> getBody ( ) ) ; } return [ null , $ statusCode , $ response -> getHeaders ( ) ] ; } catch ( ApiException $ e ) { switch ( $ e -> getCode ( ) ) { case 500 : $ data = ObjectSerializer :: deserialize ( $ e -> getResponseBody ( ) , '\Ory\Kratos\Client\Model\GenericError' , $ e -> getResponseHeaders ( ) ) ; $ e -> setResponseObject ( $ data ) ; break ; } throw $ e ; } }
Operation completeSelfServiceBrowserSettingsOIDCSettingsFlowWithHttpInfo
 Complete the Browser-Based Settings Flow for the OpenID Connect Strategy
Operation completeSelfServiceBrowserSettingsOIDCSettingsFlowWithHttpInfo Complete the Browser - Based Settings Flow for the OpenID Connect Strategy