clients/kratos/php/lib/Api/PublicApi.php
/**
     * Operation whoamiAsync
     *
     * Check who the current HTTP session belongs to
     *
     *
     * @throws \InvalidArgumentException
     * @return \GuzzleHttp\Promise\PromiseInterface
     */
Operation whoamiAsync
Check who the current HTTP session belongs to


Operation whoamiAsync Check who the current HTTP session belongs to
public function whoamiAsync()
    {
        return $this->whoamiAsyncWithHttpInfo()
            ->then(
                function ($response) {
                    return $response[0];
                }
            );
    }
public function whoamiAsync ( ) { return $ this -> whoamiAsyncWithHttpInfo ( ) -> then ( function ( $ response ) { return $ response [ 0 ] ; } ) ; }
Operation whoamiAsync
 Check who the current HTTP session belongs to
Operation whoamiAsync Check who the current HTTP session belongs to