src/Api/Domain.php
public function credentials(string $domain, int $limit = 100, int $skip = 0)
    {
        Assert::stringNotEmpty($domain);
        $params = [
            'limit' => $limit,
            'skip' => $skip,
        ];

        $response = $this->httpGet(sprintf('/v3/domains/%s/credentials', $domain), $params);

        return $this->hydrateResponse($response, CredentialResponse::class);
    }
public function credentials(string $domain, int $limit = 100, int $skip = 0)
    {
        Assert::stringNotEmpty($domain);
        $params = [
            'limit' => $limit,
            'skip' => $skip,
        ];

        $response = $this->httpGet(sprintf('/v3/domains/%s/credentials', $domain), $params);

        return $this->hydrateResponse($response, CredentialResponse::class);
    }
public function credentials ( string $ domain , int $ limit = 100 , int $ skip = 0 ) { Assert :: stringNotEmpty ( $ domain ) ; $ params = [ 'limit' => $ limit , 'skip' => $ skip , ] ; $ response = $ this -> httpGet ( sprintf ( '/v3/domains/%s/credentials' , $ domain ) , $ params ) ; return $ this -> hydrateResponse ( $ response , CredentialResponse :: class ) ; }
Returns a list of SMTP credentials for the specified domain.

@param string $domain name of the domain
@param int    $limit  Number of credentials to return
@param int    $skip   Number of credentials to omit from the list

@return CredentialResponse
Returns a list of SMTP credentials for the specified domain .