public function setRefreshToken($refreshToken = null)
    {
        $this->refreshToken = null === $refreshToken
            ? bin2hex(openssl_random_pseudo_bytes(64))
            : $refreshToken;

        return $this;
    }
public function setRefreshToken($refreshToken = null)
    {
        $this->refreshToken = null === $refreshToken
            ? bin2hex(openssl_random_pseudo_bytes(64))
            : $refreshToken;

        return $this;
    }
public function setRefreshToken ( $ refreshToken = null ) { $ this -> refreshToken = null === $ refreshToken ? bin2hex ( openssl_random_pseudo_bytes ( 64 ) ) : $ refreshToken ; return $ this ; }
Set refreshToken.

@param string $refreshToken

@return AbstractRefreshToken
Set refreshToken .